Web: Files: fixed thirdparty route
This commit is contained in:
parent
ebaf9ccecd
commit
9767111de3
@ -153,7 +153,7 @@ const PureTreeSettings = ({
|
||||
title={t("TreeSettingsAdminSettings")}
|
||||
/>
|
||||
) : null}
|
||||
{/*enableThirdParty ? (
|
||||
{enableThirdParty ? (
|
||||
<TreeNode
|
||||
selectable={true}
|
||||
className="settings-node"
|
||||
@ -162,7 +162,7 @@ const PureTreeSettings = ({
|
||||
isLeaf={true}
|
||||
title={t("TreeSettingsConnectedCloud")}
|
||||
/>
|
||||
) : null*/}
|
||||
) : null}
|
||||
</TreeNode>
|
||||
);
|
||||
};
|
||||
|
@ -168,8 +168,6 @@ const SectionBodyContent = ({
|
||||
if (setting === "admin" && isAdmin) content = renderAdminSettings();
|
||||
if (setting === "common") content = renderCommonSettings();
|
||||
if (setting === "thirdParty" && enableThirdParty) content = <ConnectClouds />;
|
||||
//if (setting === "thirdparty" && enableThirdParty)
|
||||
// content = renderCommonSettings(); //renderClouds();
|
||||
|
||||
return isLoading ? null : (!enableThirdParty && setting === "thirdParty") ||
|
||||
(!isAdmin && setting === "admin") ? (
|
||||
|
@ -51,8 +51,7 @@ const PureSettings = ({
|
||||
setTitle("AdminSettings");
|
||||
break;
|
||||
case "thirdParty":
|
||||
//setTitle("ThirdPartySettings");
|
||||
history.push("/products/files/settings/common");
|
||||
setTitle("ThirdPartySettings");
|
||||
break;
|
||||
default:
|
||||
setTitle("CommonSettings");
|
||||
|
Loading…
Reference in New Issue
Block a user