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