Web: Files: hidden thirdparty block

This commit is contained in:
Nikita Gopienko 2023-08-09 14:24:00 +03:00
parent e427f70709
commit f272f406ea

View File

@ -92,13 +92,13 @@ const ThirdPartyStorage = ({
return ( return (
<StyledThirdPartyStorage> <StyledThirdPartyStorage>
<ToggleParam {/* <ToggleParam
id="shared_third-party-storage-toggle" id="shared_third-party-storage-toggle"
title={t("Common:ThirdPartyStorage")} title={t("Common:ThirdPartyStorage")}
description={t("ThirdPartyStorageDescription")} description={t("ThirdPartyStorageDescription")}
isChecked={storageLocation.isThirdparty} isChecked={storageLocation.isThirdparty}
onCheckedChange={onChangeIsThirdparty} onCheckedChange={onChangeIsThirdparty}
/> /> */}
{storageLocation.isThirdparty && ( {storageLocation.isThirdparty && (
<ThirdPartyComboBox <ThirdPartyComboBox
@ -137,11 +137,8 @@ const ThirdPartyStorage = ({
export default inject(({ auth, settingsStore, dialogsStore }) => { export default inject(({ auth, settingsStore, dialogsStore }) => {
const { currentColorScheme } = auth.settingsStore; const { currentColorScheme } = auth.settingsStore;
const { const { openConnectWindow, saveThirdParty, deleteThirdParty } =
openConnectWindow, settingsStore.thirdPartyStore;
saveThirdParty,
deleteThirdParty,
} = settingsStore.thirdPartyStore;
const { const {
setConnectItem, setConnectItem,