mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
23 lines
418 B
JavaScript
23 lines
418 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;
|
|
vm.target = 'repositories';
|
|
|
|
function togglePublicity(e) {
|
|
vm.publicity = e.publicity;
|
|
}
|
|
}
|
|
|
|
})(); |