mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 18:48:02 +01:00
28 lines
533 B
JavaScript
28 lines
533 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.layout.admin.option')
|
|
.controller('AdminOptionController', AdminOptionController);
|
|
|
|
AdminOptionController.$inject = ['$scope'];
|
|
|
|
function AdminOptionController($scope) {
|
|
|
|
$scope.subsSubPane = 296;
|
|
|
|
var vm = this;
|
|
vm.toggle = false;
|
|
vm.toggleAdminOption = toggleAdminOption;
|
|
|
|
function toggleAdminOption() {
|
|
if(vm.toggle) {
|
|
vm.toggle = false;
|
|
}else{
|
|
vm.toggle = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
})(); |