Fixed password reset button state in admin-x

refs https://github.com/TryGhost/Team/issues/3351

- the change password button label was not getting reset on saving
This commit is contained in:
Rishabh 2023-06-02 18:01:20 +05:30
parent 94882fd6c8
commit 3090fc6067

View File

@ -349,6 +349,7 @@ const Password: React.FC<UserDetailProps> = ({user}) => {
if (confirmNewPasswordRef.current) {
confirmNewPasswordRef.current.value = '';
}
setSaveState('');
return;
}
try {