Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge branch 'beta' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Apr 23, 2024
2 parents 15e40dd + 51689a4 commit 33bc5a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ const MobileActionGroup: FC<IActionGroupProps> = (props) => {
icon={<Icon component={PlayFillIcon} />}
onClick={handleClickRun}
>
{t("dashboard.common.run")} {isContribute ? runNumber : ""}
{t("dashboard.common.run")}{" "}
{isContribute && !!runNumber ? runNumber : ""}
</Button>

<div css={otherActionGroupContainerStyle}>
Expand All @@ -115,7 +116,7 @@ const MobileActionGroup: FC<IActionGroupProps> = (props) => {
loading={forkLoading}
onClick={handleClickFork}
>
{t("dashboard.common.fork")} {forkNumber}
{t("dashboard.common.fork")} {!!forkNumber ? forkNumber : ""}
</Button>
)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ const PCActionGroup: FC<IActionGroupProps> = (props) => {
style={{ maxWidth: "307px" }}
onClick={handleClickRun}
>
{t("dashboard.common.run")} {isContribute ? runNumber : ""}
{t("dashboard.common.run")}{" "}
{isContribute && !!runNumber ? runNumber : ""}
</Button>
{isFromMarketplace && isPublishConfiguration && (
<Button
Expand All @@ -111,7 +112,7 @@ const PCActionGroup: FC<IActionGroupProps> = (props) => {
loading={forkLoading}
onClick={handleClickFork}
>
{t("dashboard.common.fork")} {forkNumber}
{t("dashboard.common.fork")} {!!forkNumber ? forkNumber : ""}
</Button>
)}

Expand Down
2 changes: 1 addition & 1 deletion packages

0 comments on commit 33bc5a2

Please sign in to comment.