Skip to content

Commit c59b16e

Browse files
committed
Fixed linting
1 parent e57ac17 commit c59b16e

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/stacks/components/StackCard.svelte

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<script lang="ts">
22
import ErrorMessage from '$comp/ErrorMessage.svelte';
3-
import DateTime from "$comp/formatters/DateTime.svelte";
3+
import DateTime from '$comp/formatters/DateTime.svelte';
44
import { P } from '$comp/typography';
55
import * as Card from '$comp/ui/card';
66
import { getStackByIdQuery } from '$features/stacks/api.svelte';
77
import ChartLineVariant from '~icons/mdi/chart-line-variant';
88
import InformationOutline from '~icons/mdi/information-outline';
99
import Users from '~icons/mdi/users';
1010
11-
import StackStatusDropdown from "./StackStatusDropdown.svelte";
11+
import StackStatusDropdown from './StackStatusDropdown.svelte';
1212
1313
interface Props {
1414
id: string;
@@ -39,12 +39,14 @@
3939
<div class="text-2xl font-bold"><StackStatusDropdown value={stack.status} /></div>
4040
<p class="text-xs text-muted-foreground">
4141
{#if stack.date_fixed}
42-
Fixed {#if stack.fixed_in_version}in {stack.fixed_in_version} {/if} on <DateTime value={stack.date_fixed}></DateTime>
42+
Fixed {#if stack.fixed_in_version}in {stack.fixed_in_version}
43+
{/if} on <DateTime value={stack.date_fixed}></DateTime>
4344
{/if}
4445
{#if stack.snooze_until_utc}
4546
Snoozed until <DateTime value={stack.snooze_until_utc}></DateTime>
4647
{/if}
47-
</Card.Content>
48+
</p></Card.Content
49+
>
4850
</Card.Root>
4951
<Card.Root>
5052
<Card.Header class="flex flex-row items-center justify-between space-y-0 pb-2">

src/Exceptionless.Web/ClientApp/src/lib/features/stacks/components/StackStatusDropdown.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import * as Select from '$comp/ui/select';
33
4-
import { StackStatus } from "../models";
4+
import { StackStatus } from '../models';
55
66
interface Props {
77
onChange?: (status: StackStatus) => Promise<void>;
@@ -12,12 +12,12 @@
1212
1313
type Item = { label: string; value: StackStatus };
1414
const items: Item[] = [
15-
{ label: "Open", value: StackStatus.Open },
16-
{ label: "Fixed", value: StackStatus.Fixed },
17-
{ label: "Regressed", value: StackStatus.Regressed },
18-
{ label: "Snoozed", value: StackStatus.Snoozed },
19-
{ label: "Ignored", value: StackStatus.Ignored },
20-
{ label: "Discarded", value: StackStatus.Discarded },
15+
{ label: 'Open', value: StackStatus.Open },
16+
{ label: 'Fixed', value: StackStatus.Fixed },
17+
{ label: 'Regressed', value: StackStatus.Regressed },
18+
{ label: 'Snoozed', value: StackStatus.Snoozed },
19+
{ label: 'Ignored', value: StackStatus.Ignored },
20+
{ label: 'Discarded', value: StackStatus.Discarded }
2121
];
2222
2323
let selected = $derived((items.find((item) => item.value === value) || items[items.length - 1]) as Item);

0 commit comments

Comments
 (0)