Skip to content

Commit

Permalink
remove "Go to Dashboard" button and move it to ProjectConfig
Browse files Browse the repository at this point in the history
Fix this [issue](#11)
  • Loading branch information
HE00L authored and hyrepo committed May 30, 2022
1 parent 3353aa6 commit 6b15a22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/pages/config/components/ConfigSuccess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ const ConfigSuccess: FC<{ projectId: string }> = ({ projectId }) => {
displayed based on the following pipeline data.
</span>
</div>
<Button type={"primary"} size={"large"} onClick={() => location.reload()}>
Go to Dashboard
</Button>
</div>

{isProjectLoading ? (
Expand Down Expand Up @@ -119,6 +116,7 @@ const ConfigSuccess: FC<{ projectId: string }> = ({ projectId }) => {
pipelines={project.pipelines}
updatePipeline={handleUpdatePipeline}
addPipeline={handleAddPipeline}
showReloadCTA={true}
/>
<Modal
maskClosable={false}
Expand Down

0 comments on commit 6b15a22

Please sign in to comment.