Skip to content

Commit

Permalink
fix(ui): remove leading slash in uiUrl for ArchivedWorkflowList red…
Browse files Browse the repository at this point in the history
…irect. Fixes #13056 (#13713)

Signed-off-by: tooptoop4 <[email protected]>
  • Loading branch information
tooptoop4 authored Oct 7, 2024
1 parent 4a521a5 commit c2b9dc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ArchivedWorkflowList extends BasePage<RouteComponentProps<any>, Sta
public componentDidUpdate(): void {
if (this.state.deep === true && this.state.workflows && this.state.workflows.length === 1) {
const workflow = this.state.workflows[0];
const url = uiUrl('/archived-workflows/' + workflow.metadata.namespace + '/' + (workflow.metadata.uid || ''));
const url = uiUrl('archived-workflows/' + workflow.metadata.namespace + '/' + (workflow.metadata.uid || ''));
this.props.history.push(url);
}
}
Expand Down

0 comments on commit c2b9dc6

Please sign in to comment.