Skip to content

Commit 5f4a463

Browse files
committed
fix: lint & rebase
Signed-off-by: bupd <[email protected]>
1 parent a61d0bf commit 5f4a463

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

Diff for: src/portal/src/app/base/harbor-shell/harbor-shell.component.spec.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ describe('HarborShellComponent', () => {
159159
modalFlag: false,
160160
});
161161
await fixture.whenStable();
162-
const dropdowns =
163-
fixture.nativeElement.querySelector('.dropdowns');
162+
const dropdowns = fixture.nativeElement.querySelector('.dropdowns');
164163
expect(dropdowns).toBeTruthy();
165164
});
166165
it('should open users changPwd', async () => {

Diff for: src/portal/src/app/shared/components/navigator/navigator.component.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
<global-search></global-search>
2020
<div class="header-actions">
21-
<clr-dropdown class="dropdown-lang dropdown bottom-left" *ngIf="!isSessionValid">
21+
<clr-dropdown
22+
class="dropdown-lang dropdown bottom-left"
23+
*ngIf="!isSessionValid">
2224
<button class="nav-icon nav-icon-width" clrDropdownToggle>
2325
<clr-icon shape="world" class="icon-left"></clr-icon>
2426
<span class="currentLocale">{{ currentLang }}</span>
@@ -35,7 +37,9 @@
3537
>
3638
</clr-dropdown-menu>
3739
</clr-dropdown>
38-
<clr-dropdown class="dropdown-locale dropdown bottom-left" *ngIf="!isSessionValid">
40+
<clr-dropdown
41+
class="dropdown-locale dropdown bottom-left"
42+
*ngIf="!isSessionValid">
3943
<button class="nav-icon nav-icon-width" clrDropdownToggle>
4044
<clr-icon shape="date" class="icon-left"></clr-icon>
4145
<span class="currentLocale">{{

Diff for: src/portal/src/app/shared/entities/shared.const.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ export const REFRESH_TIME_DIFFERENCE = 10000;
235235
export const DeFaultRuntime = 'default';
236236
export type SupportedRuntime = string;
237237
export const RUNTIMES = {
238-
'default': 'docker',
239-
'podman': 'podman',
240-
'nerdctl': 'nerdctl',
241-
'ctr': 'containerd',
242-
'crictl': 'cri-o',
238+
default: 'docker',
239+
podman: 'podman',
240+
nerdctl: 'nerdctl',
241+
ctr: 'containerd',
242+
crictl: 'cri-o',
243243
} as const;
244244
export const supportedRuntimes = Object.keys(RUNTIMES) as SupportedRuntime[];
245245
/**

0 commit comments

Comments
 (0)