mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
Modify issue about endpoint delection unfreash page
This commit is contained in:
parent
791004c1b5
commit
1dc6e57ffd
@ -185,7 +185,7 @@ export class EndpointComponent implements OnInit, OnDestroy {
|
||||
if (targetLists && targetLists.length) {
|
||||
let promiseLists: any[] = [];
|
||||
targetLists.forEach(target => {
|
||||
this.delOperate(target.id, target.name);
|
||||
promiseLists.push(this.delOperate(target.id, target.name));
|
||||
})
|
||||
Promise.all(promiseLists).then((item) => {
|
||||
this.selectedRow = [];
|
||||
|
@ -77,7 +77,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
||||
ruleName: string;
|
||||
canDeleteRule: boolean;
|
||||
|
||||
selectedRow: ReplicationRule[] = [];
|
||||
selectedRow: ReplicationRule;
|
||||
batchDelectionInfos: BatchInfo[] = [];
|
||||
|
||||
@ViewChild('toggleConfirmDialog')
|
||||
@ -134,6 +134,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
||||
this.selectOne.emit(this.rules[0]);
|
||||
}
|
||||
this.changedRules = this.rules;
|
||||
this.selectedRow = this.changedRules[0];
|
||||
this.loading = false;
|
||||
}
|
||||
).catch(error => {
|
||||
|
@ -31,7 +31,7 @@
|
||||
"clarity-icons": "^0.10.17",
|
||||
"clarity-ui": "^0.10.17",
|
||||
"core-js": "^2.4.1",
|
||||
"harbor-ui": "0.6.32",
|
||||
"harbor-ui": "0.6.33",
|
||||
"intl": "^1.2.5",
|
||||
"mutationobserver-shim": "^0.3.2",
|
||||
"ngx-cookie": "^1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user