mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +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) {
|
if (targetLists && targetLists.length) {
|
||||||
let promiseLists: any[] = [];
|
let promiseLists: any[] = [];
|
||||||
targetLists.forEach(target => {
|
targetLists.forEach(target => {
|
||||||
this.delOperate(target.id, target.name);
|
promiseLists.push(this.delOperate(target.id, target.name));
|
||||||
})
|
})
|
||||||
Promise.all(promiseLists).then((item) => {
|
Promise.all(promiseLists).then((item) => {
|
||||||
this.selectedRow = [];
|
this.selectedRow = [];
|
||||||
|
@ -77,7 +77,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
|||||||
ruleName: string;
|
ruleName: string;
|
||||||
canDeleteRule: boolean;
|
canDeleteRule: boolean;
|
||||||
|
|
||||||
selectedRow: ReplicationRule[] = [];
|
selectedRow: ReplicationRule;
|
||||||
batchDelectionInfos: BatchInfo[] = [];
|
batchDelectionInfos: BatchInfo[] = [];
|
||||||
|
|
||||||
@ViewChild('toggleConfirmDialog')
|
@ViewChild('toggleConfirmDialog')
|
||||||
@ -134,6 +134,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
|||||||
this.selectOne.emit(this.rules[0]);
|
this.selectOne.emit(this.rules[0]);
|
||||||
}
|
}
|
||||||
this.changedRules = this.rules;
|
this.changedRules = this.rules;
|
||||||
|
this.selectedRow = this.changedRules[0];
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
}
|
}
|
||||||
).catch(error => {
|
).catch(error => {
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"clarity-icons": "^0.10.17",
|
"clarity-icons": "^0.10.17",
|
||||||
"clarity-ui": "^0.10.17",
|
"clarity-ui": "^0.10.17",
|
||||||
"core-js": "^2.4.1",
|
"core-js": "^2.4.1",
|
||||||
"harbor-ui": "0.6.32",
|
"harbor-ui": "0.6.33",
|
||||||
"intl": "^1.2.5",
|
"intl": "^1.2.5",
|
||||||
"mutationobserver-shim": "^0.3.2",
|
"mutationobserver-shim": "^0.3.2",
|
||||||
"ngx-cookie": "^1.0.0",
|
"ngx-cookie": "^1.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user