Skip to content

Commit c2b9dc6

Browse files
authored
fix(ui): remove leading slash in uiUrl for ArchivedWorkflowList redirect. Fixes #13056 (#13713)
Signed-off-by: tooptoop4 <[email protected]>
1 parent 4a521a5 commit c2b9dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/app/archived-workflows/components/archived-workflow-list/archived-workflow-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class ArchivedWorkflowList extends BasePage<RouteComponentProps<any>, Sta
8080
public componentDidUpdate(): void {
8181
if (this.state.deep === true && this.state.workflows && this.state.workflows.length === 1) {
8282
const workflow = this.state.workflows[0];
83-
const url = uiUrl('/archived-workflows/' + workflow.metadata.namespace + '/' + (workflow.metadata.uid || ''));
83+
const url = uiUrl('archived-workflows/' + workflow.metadata.namespace + '/' + (workflow.metadata.uid || ''));
8484
this.props.history.push(url);
8585
}
8686
}

0 commit comments

Comments
 (0)