mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-28 03:27:41 +01:00
update for listing replication-job.
This commit is contained in:
parent
1ac534f333
commit
bd88f01afe
@ -14,7 +14,6 @@
|
|||||||
$scope.$on('$locationChangeSuccess', function() {
|
$scope.$on('$locationChangeSuccess', function() {
|
||||||
vm.projectId = getParameterByName('project_id', $location.absUrl());
|
vm.projectId = getParameterByName('project_id', $location.absUrl());
|
||||||
vm.retrievePolicy();
|
vm.retrievePolicy();
|
||||||
vm.retrieveJob();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
vm.addReplication = addReplication;
|
vm.addReplication = addReplication;
|
||||||
@ -57,6 +56,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function listReplicationPolicySuccess(data, status) {
|
function listReplicationPolicySuccess(data, status) {
|
||||||
|
vm.replicationJobs = [];
|
||||||
vm.replicationPolicies = data || [];
|
vm.replicationPolicies = data || [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user