Merge pull request #11717 from AllForNothing/testing-3

Fix bugs for testing kick 3
This commit is contained in:
Will Sun 2020-04-24 17:43:58 +08:00 committed by GitHub
commit ae9f8f6d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -104,11 +104,6 @@
<clr-icon shape="network-globe" clrVerticalNavIcon></clr-icon>
{{'SIDE_NAV.HARBOR_API_MANAGEMENT' | translate}}
</a>
<a class="font-size-13" clrVerticalNavLink target="_blank" routerLink="/devcenter-api"
routerLinkActive="active">
<clr-icon shape="network-globe" clrVerticalNavIcon></clr-icon>
{{'SIDE_NAV.HELM_API_MANAGEMENT' | translate}}
</a>
</clr-vertical-nav-group-children>
</clr-vertical-nav-group>
</div>
@ -119,4 +114,4 @@
<account-settings-modal></account-settings-modal>
<password-setting></password-setting>
<confiramtion-dialog></confiramtion-dialog>
<about-dialog></about-dialog>
<about-dialog></about-dialog>

View File

@ -189,6 +189,7 @@ export class ProjectQuotasComponent implements OnChanges {
this.quotaService.getQuotaList(QuotaType, pageNumber, this.pageSize, sortBy).pipe(finalize(() => {
this.loading = false;
this.selectedRow = [];
})).subscribe(res => {
if (res.headers) {
let xHeader: string = res.headers.get("X-Total-Count");