You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/docker/components/host-view-panels/node-availability-select/node-availability-select-co...

10 lines
260 B

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