Skip to content

Commit be8a3b0

Browse files
committed
Improved how stack status is displayed in the issues grid.
1 parent 935a8ac commit be8a3b0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/events/components/table/options.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function getColumns<TSummaryModel extends SummaryModel<SummaryTemplateKey
5454
}
5555
},
5656
{
57-
cell: (prop) => renderComponent(Summary, { summary: prop.row.original }),
57+
cell: (prop) => renderComponent(Summary, { showStatus: false, summary: prop.row.original }),
5858
enableHiding: false,
5959
header: 'Summary'
6060
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
<script lang="ts">
22
import type { StackStatus } from '$features/stacks/models';
33
4-
import { stackStatuses } from '$features/stacks/options';
4+
import StackStatusBadge from "$features/stacks/components/stack-status-badge.svelte";
55
66
interface Props {
77
value: StackStatus;
88
}
99
1010
let { value }: Props = $props();
11-
let label = $derived(stackStatuses.find((option) => option.value === value)?.label ?? value);
1211
</script>
1312

1413
{#if value}
1514
<div class="flex w-[100px] items-center">
16-
<span>{label}</span>
15+
<StackStatusBadge status={value} />
1716
</div>
1817
{/if}

0 commit comments

Comments
 (0)