File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
client/packages/lowcoder/src
pages/setting/organization Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3639,6 +3639,7 @@ export const en = {
36393639 "profile" : {
36403640 "orgSettings" : "Workspace Settings" ,
36413641 "switchOrg" : "Switch Workspace" ,
3642+ "switchWorkspace" : "Switch" ,
36423643 "joinedOrg" : "My Workspaces" ,
36433644 "createOrg" : "Create Workspace" ,
36443645 "logout" : "Log Out" ,
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { getOrgCreateStatus } from "redux/selectors/orgSelectors";
2525import { useWorkspaceManager } from "util/useWorkspaceManager" ;
2626import { Org } from "constants/orgConstants" ;
2727import { useState } from "react" ;
28+ import { SwapOutlined } from "@ant-design/icons" ;
2829
2930const OrgName = styled . div `
3031 display: flex;
@@ -60,7 +61,7 @@ const ActiveOrgIcon = styled(CheckoutIcon)`
6061
6162// Button to switch to this organization
6263const SwitchBtn = styled ( EditBtn ) `
63- min-width: 64px ;
64+ min-width: auto ;
6465 margin-right: 8px;
6566` ;
6667
@@ -274,12 +275,13 @@ function OrganizationSetting() {
274275 < SwitchBtn
275276 className = { "home-datasource-edit-button" }
276277 buttonType = { "blue" }
278+ icon = { < SwapOutlined /> }
277279 onClick = { ( e ) => {
278280 e . stopPropagation ( ) ;
279281 dispatch ( switchOrg ( item . id ) ) ;
280282 } }
281283 >
282- { trans ( "profile.switchOrg " ) }
284+ { trans ( "profile.switchWorkspace " ) }
283285 </ SwitchBtn >
284286 ) }
285287 < EditBtn
You can’t perform that action at this time.
0 commit comments