1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 00:09:40 +02:00

fix(deploy): return to referring view [EE-5345] (#8763)

* fix(deploy): return to referring view [EE-5345]

* no-underline -> no-decoration

---------

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-04-26 11:23:15 +12:00 committed by GitHub
parent 9b287f3020
commit 3e654ff9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 37 additions and 11 deletions

View file

@ -283,6 +283,12 @@ class KubernetesDeployController {
this.Notifications.success('Success', 'Manifest successfully deployed');
this.state.isEditorDirty = false;
if (this.$state.params.referrer) {
this.$state.go(this.$state.params.referrer);
return;
}
this.$state.go('kubernetes.applications');
} catch (err) {
this.Notifications.error('Unable to deploy manifest', err, 'Unable to deploy resources');