harbor/static/ng/resources/js/layout/details/details.controller.js

22 lines
386 B
JavaScript

(function() {
'use strict';
angular
.module('harbor.details')
.controller('DetailsController', DetailsController);
function DetailsController() {
var vm = this;
vm.publicity = false;
vm.isProjectMember = false;
vm.togglePublicity = togglePublicity;
function togglePublicity(e) {
vm.publicity = e.publicity;
}
}
})();