mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
Merge pull request #444 from yhua123/patch-1
Close pop input bar after success.
This commit is contained in:
commit
581db52124
@ -49,6 +49,7 @@
|
|||||||
function addProjectMemberComplete(data, status, header) {
|
function addProjectMemberComplete(data, status, header) {
|
||||||
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
|
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
|
||||||
vm.reload();
|
vm.reload();
|
||||||
|
vm.isOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function addProjectMemberFailed(data, status, headers) {
|
function addProjectMemberFailed(data, status, headers) {
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
$scope.$emit('addedSuccess', true);
|
$scope.$emit('addedSuccess', true);
|
||||||
vm.hasError = false;
|
vm.hasError = false;
|
||||||
vm.errorMessage = '';
|
vm.errorMessage = '';
|
||||||
|
vm.isOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function addProjectFailed(data, status) {
|
function addProjectFailed(data, status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user