pixelize-design-library 2.3.27 → 2.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,7 +106,7 @@ const OrganizationDetails = ({ activeOrganizations, invitedOrganizations, isLoad
|
|
|
106
106
|
const isSwitching = switchingOrgIds.includes(item.orgId);
|
|
107
107
|
const canEdit = item.roleName === "Super Admin";
|
|
108
108
|
const canProtect = item.roleName !== "Super Admin";
|
|
109
|
-
const isProtected = item.
|
|
109
|
+
const isProtected = item.defaultOrg === 1 || canProtect;
|
|
110
110
|
const isEditingThis = canEdit && editingOrgId === item.orgId;
|
|
111
111
|
const isSavingThis = editingOrgIds.includes(item.orgId);
|
|
112
112
|
return ((0, jsx_runtime_1.jsxs)(react_2.Box, { ...cardSx, p: 3, position: "relative", transition: "all 0.2s ease", _hover: {
|