diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.spec.ts b/src/portal/src/app/base/harbor-shell/harbor-shell.component.spec.ts
index 305827e5f31..b90e9d344ee 100644
--- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.spec.ts
+++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.spec.ts
@@ -159,8 +159,7 @@ describe('HarborShellComponent', () => {
modalFlag: false,
});
await fixture.whenStable();
- const dropdowns =
- fixture.nativeElement.querySelector('.dropdowns');
+ const dropdowns = fixture.nativeElement.querySelector('.dropdowns');
expect(dropdowns).toBeTruthy();
});
it('should open users changPwd', async () => {
diff --git a/src/portal/src/app/shared/components/navigator/navigator.component.html b/src/portal/src/app/shared/components/navigator/navigator.component.html
index 72e66347862..c8424557583 100644
--- a/src/portal/src/app/shared/components/navigator/navigator.component.html
+++ b/src/portal/src/app/shared/components/navigator/navigator.component.html
@@ -18,7 +18,9 @@