🩹 front: removing the password on an expired public link doesnt need a warning (#50)

This commit is contained in:
Eric Doughty-Papassideris
2024-04-29 10:19:31 +02:00
committed by ericlinagora
parent 5755e72e42
commit a524df0168
@@ -130,7 +130,7 @@ export const PasswordEditorRow = (props: {
if (checked && !currentEditedPassword.length)
setCurrentEditedPassword(!props.password?.length ? Math.random().toString(36).slice(-8) : props.password);
} else
setIsConfirmingPasswordRemoval(true);
confirmSavePassword("");
}}
/>
}