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 = {
3639
3639
"profile" : {
3640
3640
"orgSettings" : "Workspace Settings" ,
3641
3641
"switchOrg" : "Switch Workspace" ,
3642
+ "switchWorkspace" : "Switch" ,
3642
3643
"joinedOrg" : "My Workspaces" ,
3643
3644
"createOrg" : "Create Workspace" ,
3644
3645
"logout" : "Log Out" ,
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { getOrgCreateStatus } from "redux/selectors/orgSelectors";
25
25
import { useWorkspaceManager } from "util/useWorkspaceManager" ;
26
26
import { Org } from "constants/orgConstants" ;
27
27
import { useState } from "react" ;
28
+ import { SwapOutlined } from "@ant-design/icons" ;
28
29
29
30
const OrgName = styled . div `
30
31
display: flex;
@@ -60,7 +61,7 @@ const ActiveOrgIcon = styled(CheckoutIcon)`
60
61
61
62
// Button to switch to this organization
62
63
const SwitchBtn = styled ( EditBtn ) `
63
- min-width: 64px ;
64
+ min-width: auto ;
64
65
margin-right: 8px;
65
66
` ;
66
67
@@ -274,12 +275,13 @@ function OrganizationSetting() {
274
275
< SwitchBtn
275
276
className = { "home-datasource-edit-button" }
276
277
buttonType = { "blue" }
278
+ icon = { < SwapOutlined /> }
277
279
onClick = { ( e ) => {
278
280
e . stopPropagation ( ) ;
279
281
dispatch ( switchOrg ( item . id ) ) ;
280
282
} }
281
283
>
282
- { trans ( "profile.switchOrg " ) }
284
+ { trans ( "profile.switchWorkspace " ) }
283
285
</ SwitchBtn >
284
286
) }
285
287
< EditBtn
You can’t perform that action at this time.
0 commit comments