8000 Fix expanded row key by Alex-Tideman · Pull Request #2743 · temporalio/ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix expanded row key #2743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to o 8000 ur terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/lib/components/event/event-summary-table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@

$: filteredForStatus = (items: IterableEventWithPending[]) =>
getFailedOrPendingEvents(items, $eventStatusFilter);

const iterableKey = (event: IterableEventWithPending) => {
if (isPendingNexusOperation(event))
return `pending-nexus-${event.scheduledEventId}`;
if (isPendingActivity(event)) return `pending-activity-${event.id}`;
return `event-${event.id}`;
};
</script>

<Paginated
Expand All @@ -57,7 +64,7 @@
<HistoryGraph {groups} history={history(visibleItems)} />
{/if}
<div class="w-full">
{#each visibleItems as event, index}
{#each visibleItems as event, index (iterableKey(event))}
{#if isEventGroup(event)}
<EventSummaryRow
{event}
Expand Down
Loading
0