diff --git a/ui/src/events/EventsPage.vue b/ui/src/events/EventsPage.vue index 941e74d9b..01e4cc82f 100644 --- a/ui/src/events/EventsPage.vue +++ b/ui/src/events/EventsPage.vue @@ -89,9 +89,13 @@ onMounted(() => void loadCounts()); const steps = computed(() => stepsFor(tabs.value)); -/** The panel the active step shows. Undefined when this composition backs none - * of them, which the template renders as an empty state. */ -const panel = computed(() => PANELS[active.value]); +/** The panels to draw: one per step this composition backs. */ +const panels = computed(() => + tabs.value.flatMap((tab) => { + const component = PANELS[tab.id]; + return component ? [{ id: tab.id, component }] : []; + }), +);