Fix Bug 60484 - Files.Settings. User setting ‘Display notification when moving items to Trash’.

This commit is contained in:
Alexey Safronov 2023-01-09 18:42:47 +03:00
parent aac2a388e2
commit 0d6450bf4f

View File

@ -13,8 +13,8 @@ const CommonSettings = ({
forceSave,
isVisitor,
favoritesSection,
recentSection,
//favoritesSection,
//recentSection,
setUpdateIfExist,
setStoreOriginal,
@ -82,12 +82,14 @@ const CommonSettings = ({
onChange={onChangeOriginalCopy}
isChecked={storeOriginalFiles}
/>
<ToggleButton
className="toggle-btn"
label={t("DisplayNotification")}
onChange={onChangeDeleteConfirm}
isChecked={confirmDelete}
/>
{!isVisitor && (
<ToggleButton
className="toggle-btn"
label={t("DisplayNotification")}
onChange={onChangeDeleteConfirm}
isChecked={confirmDelete}
/>
)}
</Box>
{/* <Box className="settings-section">