Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: bupd <[email protected]>
  • Loading branch information
bupd committed Nov 23, 2024
1 parent 1adff5d commit 61337ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

<global-search></global-search>
<div class="header-actions">
<clr-dropdown class="dropdown-lang dropdown bottom-left" *ngIf="!isSessionValid">
<clr-dropdown
class="dropdown-lang dropdown bottom-left"
*ngIf="!isSessionValid">
<button class="nav-icon nav-icon-width" clrDropdownToggle>
<clr-icon shape="world" class="icon-left"></clr-icon>
<span class="currentLocale">{{ currentLang }}</span>
Expand All @@ -35,7 +37,9 @@
>
</clr-dropdown-menu>
</clr-dropdown>
<clr-dropdown class="dropdown-locale dropdown bottom-left" *ngIf="!isSessionValid">
<clr-dropdown
class="dropdown-locale dropdown bottom-left"
*ngIf="!isSessionValid">
<button class="nav-icon nav-icon-width" clrDropdownToggle>
<clr-icon shape="date" class="icon-left"></clr-icon>
<span class="currentLocale">{{
Expand Down
10 changes: 5 additions & 5 deletions src/portal/src/app/shared/entities/shared.const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ export const REFRESH_TIME_DIFFERENCE = 10000;
export const DeFaultRuntime = 'default';
export type SupportedRuntime = string;
export const RUNTIMES = {
'default': 'docker',
'podman': 'podman',
'nerdctl': 'nerdctl',
'ctr': 'containerd',
'crictl': 'cri-o',
default: 'docker',
podman: 'podman',
nerdctl: 'nerdctl',
ctr: 'containerd',
crictl: 'cri-o',
} as const;
export const supportedRuntimes = Object.keys(RUNTIMES) as SupportedRuntime[];
/**
Expand Down

0 comments on commit 61337ab

Please sign in to comment.