mirror of https://github.com/portainer/portainer
15 lines
371 B
JavaScript
15 lines
371 B
JavaScript
import angular from 'angular';
|
|||
|
|||
class EditEdgeStackFormController {
|
|||
constructor() {
|
|||
this.editorUpdate = this.editorUpdate.bind(this);
|
|||
}
|
|||
|
|||
editorUpdate(cm) {
|
|||
this.model.StackFileContent = cm.getValue();
|
|||
}
|
|||
}
|
|||
|
|||
angular.module('portainer.edge').controller('EditEdgeStackFormController', EditEdgeStackFormController);
|
|||
export default EditEdgeStackFormController;
|