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

fix(app):fix additional not save warning EE-799 (#5161)

* fix(app):fix additional not save warning EE-799

* fix additional warning when user leave page

* fix additional warning when user leave page in buildImageController.js

* fix docker build controller additional warning message

* fix changes required from reviews

* - refactored ondestroy hook function to align it closer to (below) oninit
- removed duplicated hook func duplication in configurationController

Co-authored-by: zees-dev <dev.786zshan@gmail.com>
This commit is contained in:
Richard Wei 2021-08-10 16:44:33 +12:00 committed by GitHub
parent 75baf14b38
commit 3257cb1e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 49 additions and 0 deletions

View file

@ -71,6 +71,10 @@ export class CreateEdgeStackViewController {
};
}
$onDestroy() {
this.state.isEditorDirty = false;
}
createStack() {
return this.$async(this.createStackAsync);
}