mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-08 02:07:31 +02:00
updates for detail config in UI
This commit is contained in:
parent
6ae156f902
commit
046d9b0f47
@ -24,7 +24,7 @@
|
||||
controllerAs: 'vm'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/'
|
||||
redirectTo: '/repositories'
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -10,10 +10,11 @@
|
||||
|
||||
function SwitchPaneProjectsController($scope) {
|
||||
var vm = this;
|
||||
$scope.$on('isOpen', function(e, d){
|
||||
vm.isOpen = d;
|
||||
console.log('vm.isOpen:' + vm.isOpen);
|
||||
|
||||
$scope.$on('isOpen', function(e, val){
|
||||
vm.isOpen = val;
|
||||
});
|
||||
|
||||
$scope.$watch('vm.selectedProject', function(current, origin) {
|
||||
vm.projectName = current.name;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user