mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +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:
parent
75baf14b38
commit
3257cb1e28
13 changed files with 49 additions and 0 deletions
|
@ -148,6 +148,10 @@ class KubernetesDeployController {
|
|||
$onInit() {
|
||||
return this.$async(this.onInit);
|
||||
}
|
||||
|
||||
$onDestroy() {
|
||||
this.state.isEditorDirty = false;
|
||||
}
|
||||
}
|
||||
|
||||
export default KubernetesDeployController;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue