Fix bugs for testing kick 3

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
AllForNothing 2020-04-24 17:11:34 +08:00
parent f59d0737cd
commit 432f5512d8
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");