mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 21:39:40 +02:00
* feat(app): when leaving a view with unsaved changed, a modal prompt the user with a confirmation message feat(app): when leaving a view with unsaved changes, a modal prompt the user with a confirmation message * feat(app/web-editor): fix the modal behaviour when editing a stack details * feat(app/web-editor): add a reusable function confirmWebEditorDiscard in modal service * feat(docker/stack): fix missing dependency
15 lines
396 B
JavaScript
15 lines
396 B
JavaScript
import angular from 'angular';
|
|
|
|
import { EditEdgeStackFormController } from './editEdgeStackFormController';
|
|
|
|
angular.module('portainer.edge').component('editEdgeStackForm', {
|
|
templateUrl: './editEdgeStackForm.html',
|
|
controller: EditEdgeStackFormController,
|
|
bindings: {
|
|
model: '<',
|
|
actionInProgress: '<',
|
|
submitAction: '<',
|
|
edgeGroups: '<',
|
|
isEditorDirty: '=',
|
|
},
|
|
});
|