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:
parent
9b287f3020
commit
3e654ff9b2
8 changed files with 37 additions and 11 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue