portainer/app/docker/components/host-view-panels/node-availability-select/node-availability-select-co...

12 lines
279 B
JavaScript

angular
.module('portainer.docker')
.controller('NodeAvailabilitySelectController', [
function NodeAvailabilitySelectController() {
this.onChange = onChange;
function onChange() {
this.onSave({ availability: this.availability });
}
}
]);