Skip to content

Commit 53fb65d

Browse files
committed
fix orglist active org icon
1 parent 1a587df commit 53fb65d

File tree

1 file changed

+2
-1
lines changed
  • client/packages/lowcoder/src/pages/setting/organization

1 file changed

+2
-1
lines changed

client/packages/lowcoder/src/pages/setting/organization/orgList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ function OrganizationSetting() {
211211
logoUrl: org.logoUrl || "",
212212
createdAt: org.createdAt,
213213
updatedAt: org.updatedAt,
214+
isCurrentOrg: org.isCurrentOrg,
214215
}));
215216

216217

@@ -307,7 +308,7 @@ function OrganizationSetting() {
307308
key: i,
308309
operation: (
309310
<OperationWrapper>
310-
{item.id !== user.currentOrgId && (
311+
{!item.isCurrentOrg && (
311312
<SwitchBtn
312313
className={"home-datasource-edit-button"}
313314
buttonType={"blue"}

0 commit comments

Comments
 (0)