💄 front: forgot a spot of red access level (#50)

This commit is contained in:
Eric Doughty-Papassideris
2024-04-29 23:49:21 +02:00
committed by ericlinagora
parent f803e4cc51
commit cf35692f06
2 changed files with 2 additions and 2 deletions
@@ -162,9 +162,8 @@ export const ExpiryEditorRow = (props: {
? Languages.t("components.public-link-security_expiration_removal_but_password")
: Languages.t("components.public-link-security_expiration_removal_no_password")
}
icon={ShieldExclamationIcon}
buttonOkTheme='primary'
buttonOkLabel="components.public-link-security_expiration_removal_confirm"
buttonOkTheme='danger'
/>
</>;
}
@@ -74,6 +74,7 @@ const ChangePublicLinkAccessLevelRow = (props: {
className='!p-0 leading-tight text-end !pr-8 border-none bg-transparent dark:bg-transparent'
disabled={props.disabled}
size={'sm'}
noRedBobMode={true}
level={props.level}
hiddenLevels={['remove']}
onChange={props.onChange}