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

10 lines
260 B
JavaScript

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