Skip to content

Commit

Permalink
fix(ui): Don't jump back to tiles view on app deletion (#8764) (#10826)
Browse files Browse the repository at this point in the history
Signed-off-by: jannfis <jann@mistrust.net>

Signed-off-by: jannfis <jann@mistrust.net>
  • Loading branch information
jannfis authored and crenshaw-dev committed Oct 6, 2022
1 parent 277c6ad commit ebf3674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ export class ApplicationDetails extends React.Component<RouteComponentProps<{app

private onAppDeleted() {
this.appContext.apis.notifications.show({type: NotificationType.Success, content: `Application '${this.props.match.params.name}' was deleted`});
this.appContext.apis.navigation.goto('/applications', {view: 'tiles'});
this.appContext.apis.navigation.goto('/applications');
}

private async updateApp(app: appModels.Application, query: {validate?: boolean}) {
Expand Down

0 comments on commit ebf3674

Please sign in to comment.