mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
fix(console): reset connector form with updated data (#4144)
This commit is contained in:
parent
20ca27009f
commit
76d8527fb9
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function ConnectorContent({ isDeleted, connectorData, onConnectorUpdated }: Prop
|
||||||
/**
|
/**
|
||||||
* Note: reset form dirty state before updating the form data.
|
* Note: reset form dirty state before updating the form data.
|
||||||
*/
|
*/
|
||||||
reset();
|
reset(convertResponseToForm(updatedConnector));
|
||||||
onConnectorUpdated(updatedConnector);
|
onConnectorUpdated(updatedConnector);
|
||||||
toast.success(t('general.saved'));
|
toast.success(t('general.saved'));
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue