portainer/app/edge/components/edit-edge-stack-form/editEdgeStackFormController.js

11 lines
214 B
JavaScript

export class EditEdgeStackFormController {
/* @ngInject */
constructor() {
this.editorUpdate = this.editorUpdate.bind(this);
}
editorUpdate(cm) {
this.model.StackFileContent = cm.getValue();
}
}