Skip to content

Commit

Permalink
fix(ui): dont show cluster workflows in namespaced mode. Closes #5841 (
Browse files Browse the repository at this point in the history
…#5846)

Signed-off-by: Nick Palumbo <[email protected]>

Co-authored-by: Nick Palumbo <[email protected]>
  • Loading branch information
2 people authored and sarabala1979 committed May 10, 2021
1 parent abc0fdf commit a4c246b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class CronWorkflowList extends BasePage<RouteComponentProps<any>, State>

constructor(props: any) {
super(props);
this.state = {namespace: this.props.match.params.namespace || ''};
this.state = {namespace: Utils.getNamespace(this.props.match.params.namespace) || ''};
}

public componentDidMount(): void {
Expand Down

0 comments on commit a4c246b

Please sign in to comment.