Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73a64b4

Browse files
committed
fix switch org button
1 parentcd92f7c commit73a64b4

File tree

2 files changed

+5
-2
lines changed
  • client/packages/lowcoder/src

2 files changed

+5
-2
lines changed

‎client/packages/lowcoder/src/i18n/locales/en.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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",

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { getOrgCreateStatus } from "redux/selectors/orgSelectors";
2525
import{useWorkspaceManager}from"util/useWorkspaceManager";
2626
import{Org}from"constants/orgConstants";
2727
import{useState}from"react";
28+
import{SwapOutlined}from"@ant-design/icons";
2829

2930
constOrgName=styled.div`
3031
display: flex;
@@ -60,7 +61,7 @@ const ActiveOrgIcon = styled(CheckoutIcon)`
6061

6162
// Button to switch to this organization
6263
constSwitchBtn=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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp