diff --git a/frontend/src/modules/common/components/BaseWorkspaceActions/BaseWorkspaceActions.jsx b/frontend/src/modules/common/components/BaseWorkspaceActions/BaseWorkspaceActions.jsx index 39492721ff..c9b67c05fe 100644 --- a/frontend/src/modules/common/components/BaseWorkspaceActions/BaseWorkspaceActions.jsx +++ b/frontend/src/modules/common/components/BaseWorkspaceActions/BaseWorkspaceActions.jsx @@ -11,6 +11,8 @@ const BaseWorkspaceActions = ({ }) => { //If License ToolTip component is not passed from version specific component--> We will show normal ToolTip component const isDefaultLicenseTooltip = LicenseTooltip === DefaultLicenseTooltip; + const isAllowPersonalWorkspace = window.public_config?.ALLOW_PERSONAL_WORKSPACE === 'true'; + return (
) : ( - -
= 100} - onClick={handleAddWorkspace} - style={{ marginLeft: super_admin ? '0px' : '10px' }} - > - -
-
+ (isAllowPersonalWorkspace || super_admin) && ( + +
= 100} + onClick={handleAddWorkspace} + style={{ marginLeft: super_admin ? '0px' : '10px' }} + > + +
+
+ ) )}
);