mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
added confirmation modal to advanced app created by web editor
This commit is contained in:
parent
1cbfd96738
commit
b3b168631d
1 changed files with 6 additions and 0 deletions
|
@ -177,6 +177,12 @@ class KubernetesCreateApplicationController {
|
|||
});
|
||||
}
|
||||
|
||||
async uiCanExit() {
|
||||
if (this.stackFileContent && this.state.isEditorDirty) {
|
||||
return this.ModalService.confirmWebEditorDiscard();
|
||||
}
|
||||
}
|
||||
|
||||
setPullImageValidity(validity) {
|
||||
this.state.pullImageValidity = validity;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue