mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-31 21:18:21 +01:00
update for retrieving replication-jobs.
This commit is contained in:
parent
bd88f01afe
commit
8659dc1988
@ -55,7 +55,7 @@
|
||||
<hr class="hr-line"/>
|
||||
<div class="form-inline">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="" ng-model="vm.replicationJobName" size="30">
|
||||
<input type="text" class="form-control" placeholder="" ng-model="vm.repositoryName" size="30">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="button" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-search"></span></button>
|
||||
</span>
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
return listReplicationJob;
|
||||
|
||||
function listReplicationJob(policyId, name) {
|
||||
function listReplicationJob(policyId, repository) {
|
||||
return $http
|
||||
.get('/api/jobs/replication/', {
|
||||
'params': {
|
||||
'policy_id': policyId,
|
||||
'name': name
|
||||
'repository': repository
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user