From cf35692f065010f9c3ea58517178de82caa301f6 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Mon, 29 Apr 2024 23:49:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20front:=20forgot=20a=20spot=20of?= =?UTF-8?q?=20red=20access=20level=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/body/drive/modals/public-link/expiry-editor-row.tsx | 3 +-- .../app/views/client/body/drive/modals/public-link/index.tsx | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/expiry-editor-row.tsx b/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/expiry-editor-row.tsx index d988581d..de7e63fa 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/expiry-editor-row.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/expiry-editor-row.tsx @@ -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' /> ; } \ No newline at end of file diff --git a/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/index.tsx b/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/index.tsx index 6817f717..834c584a 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/index.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/modals/public-link/index.tsx @@ -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}