mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 05:27:52 +00:00
Fix change password button active state on no errors
This commit is contained in:
@@ -226,6 +226,7 @@ export default function PersonalSettings() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
active={Object.keys(errors).length === 0 && currentPassword !== ''}
|
||||||
color="mineshaft"
|
color="mineshaft"
|
||||||
size="md"
|
size="md"
|
||||||
textDisabled={t('section.password.change') as string}
|
textDisabled={t('section.password.change') as string}
|
||||||
|
|||||||
Reference in New Issue
Block a user