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

Commit 77bb4b7

Browse files
author
Noah Hanjun Lee
authored
fix: fix the bug of rollback URL (#96)
1 parent ac866c4 commit 77bb4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/redux/repoRollback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const rollback = createAsyncThunk<void, void, { state: {repoRollback: Rep
124124
const rollback = await rollbackDeployment(repo.id, deployment.number)
125125

126126
const msg = <span>
127-
It starts to rollback. <a href={`/${repo.namespace}/${repo.name}/deployments/${deployment.number}`}>#{deployment.number}</a>
127+
It starts to rollback. <a href={`/${repo.namespace}/${repo.name}/deployments/${rollback.number}`}>#{rollback.number}</a>
128128
</span>
129129
if (!env?.approval?.enabled) {
130130
message.success(msg, 3)

0 commit comments

Comments
 (0)