Unverified Commit e07fc8ac authored by pengpengshui's avatar pengpengshui Committed by GitHub
Browse files

Merge pull request #4137 from pengpengshui/batchDelection

Modify issue about endpoint delection unfreash
parents 72cc5610 1dc6e57f
master add-expect-file-from-linux-os add-retry-for-get-project-Quotas-1 angular6 bump_up_legacy_api_version cron csrf-local debug_oidc_onboard dev-center dev-center1 enable-code-scanning enable_ssl_on_all_components enable_tls_on_all_components f9272e25 feat/retention/GH-6655-boilerplate feat/retention/GH-6656-filter-chain-builder feat/retention/GH-6657-keep-or-delete-everything feat/retention/GH-6658-always-keep-or-delete-tag feat/retention/GH-6660-keep-most-recent-n-tags feat/retention/GH-6661-delete-older-than-n-days feat/retention/GH-7933-database-persistence feat/retention/linter-fixups feat/retention/tracking feature/pluggable_scanner_s3 fix-images fix_ldap_group_admin_dn fix_nightly fix_prepare_file_permission fixing-links harbor-tile-testcase jonasrosland-patch-2 maria-to-pg michmike-patch-1 michmike-patch-2 michmike-patch-3 michmike-patch-4 michmike-patch-5 michmike-patch-6 michmike-patch-7 michmike-patch-8 modify-log ninjadq-fix-type-on-migration-doc optimize_cicd p2p_preheat pr/upgrade2angular5 project-quota-dev proxy_prototype query redirects ref_admin_driver refactor_ldap_group_180 release-1.10-doc release-1.10.0 release-1.4.0 release-1.5.0 release-1.5.0-chart-perm-fix release-1.6.0 release-1.7.0 release-1.8.0 release-1.9.0 release-2.0.0 remove_adminserver remove_adminserver_review rename-master-role rep-aws-drv replication replication_ng revert-8494-fix-global-search revert-9506-token-sevice sclem-helm-link sclements-1.10-cherrypick sclements-1.10-doc-updates script-project-quotas-nightly-test-case-2 seprate_harbor_portal_from_harbor_core srcipt-cnab-bundle-api-test stonezdj-patch-1.5.2 test_tag_retention update_clarity upgrade_clarity upgrade_clarity-2.1 upgrade_clarity_2.0 webhook-dev webhook-dev-20200303 wwp-weighting xaleeks-patch-2 xaleeks-patch-3 v2.1.0-tech-prview v2.1.0-tech-preview v2.0.2 v2.0.2-rc1 v2.0.1 v2.0.1-rc1 v2.0.0 v2.0.0-rc3 v2.0.0-rc2 v2.0.0-rc1 v1.10.4 v1.10.4-rc1 v1.10.3 v1.10.3-rc2 v1.10.3-rc1 v1.10.2 v1.10.2-rc1 v1.10.1 v1.10.1-rc1 v1.10.0 v1.10.0-rc2 v1.10.0-rc1 v1.9.4 v1.9.4-rc2 v1.9.4-rc1 v1.9.3 v1.9.3-rc1 v1.9.2 v1.9.2-rc1 v1.9.1 v1.9.1-rc1 v1.9.0 v1.9.0-rc2 v1.9.0-rc1 v1.8.6 v1.8.6-rc1 v1.8.5 v1.8.5-rc1 v1.8.4 v1.8.4-rc1 v1.8.3 v1.8.3-rc1 v1.8.2 v1.8.2-rc2 v1.8.2-rc1 v1.8.1 v1.8.0 v1.8.0-rc2 v1.8.0-rc1 v1.7.7-rc1 v1.7.6 v1.7.6-rc1 v1.7.5 v1.7.4 v1.7.3 v1.7.2 v1.7.1 v1.7.0 v1.7.0-rc2 v1.7.0-rc1 v1.6.3 v1.6.2 v1.6.1 v1.6.0 v1.6.0-rc3 v1.6.0-rc2 v1.6.0-rc1 v1.5.4 v1.5.3 v1.5.2 v1.5.2-RC1 v1.5.1 v1.5.0 v1.5.0-rc5 v1.5.0-rc4 v1.5.0-rc3 v1.5.0-rc2 v1.5.0-rc1 v1.4.1 v1.4.0 v1.4.0-rc2
No related merge requests found
Showing with 4 additions and 3 deletions
+4 -3
......@@ -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",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment