mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
fix(app): redirect to app after edit [EE-6385] (#11772)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
b6daee2850
commit
9dd9ffdb3b
2 changed files with 10 additions and 3 deletions
|
@ -263,7 +263,12 @@ class KubernetesCreateApplicationController {
|
|||
{ stackFile: this.stackFileContent, stackName: this.formValues.StackName }
|
||||
);
|
||||
this.state.isEditorDirty = false;
|
||||
this.$window.location.reload();
|
||||
this.Notifications.success('Success', 'Request to update application successfully submitted');
|
||||
this.$state.go(
|
||||
'kubernetes.applications.application',
|
||||
{ name: this.application.Name, namespace: this.application.ResourcePool, endpointId: this.endpoint.Id },
|
||||
{ inherit: false }
|
||||
);
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Failed redeploying application');
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue