Skip to content

Commit

Permalink
Fixed more linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Nov 29, 2023
1 parent 15cfb24 commit 5fd9c0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import IconSearch from '~icons/mdi/search';
import logo from '$lib/assets/exceptionless-48.png';
import { isPageWithSidebar, isSidebarOpen, isSidebarExpanded } from '$lib/stores/sidebar';
import { isSidebarOpen, isSidebarExpanded } from '$lib/stores/sidebar';
import * as Avatar from '$comp/ui/avatar';
import * as DropdownMenu from '$comp/ui/dropdown-menu';
import SearchInput from '$comp/SearchInput.svelte';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import IconChartPie from '~icons/mdi/chart-pie';
import { page } from '$app/stores';
import { isSidebarOpen, isSidebarExpanded, isLargeScreen } from '$lib/stores/sidebar';
import SearchInput from '$comp/SearchInput.svelte';
Expand Down Expand Up @@ -65,11 +64,10 @@
</div>
</aside>

<div
<button
class="fixed inset-0 z-10 bg-gray-900/50 dark:bg-gray-900/90 {!$isLargeScreen && $isSidebarOpen
? ''
: 'hidden'}"
aria-label="Close sidebar"
on:click={onBackdropClick}
role="none"
></div>
></button>
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
if (
typeof ctx.response?.data === 'object' &&
(ctx.response.data as any).resultCount === undefined
(ctx.response.data as { resultCount?: number | null }).resultCount === undefined
) {
(ctx.response.data as any).resultCount = !isNaN(resultCountHeaderValue)
(ctx.response.data as { resultCount?: number | null }).resultCount = !isNaN(
resultCountHeaderValue
)
? resultCountHeaderValue
: null;
}
Expand Down

0 comments on commit 5fd9c0d

Please sign in to comment.