From fa406fc049c440c21fff308a9f5679e45ffbc2eb Mon Sep 17 00:00:00 2001 From: Fabian Engelniederhammer Date: Mon, 13 Jan 2025 09:32:14 +0100 Subject: [PATCH] fix(website): explicitly specify views on `gs-aggregate` To prepare for https://github.com/GenSpectrum/dashboard-components/pull/639. Otherwise, we will have unexpected bar charts. --- website/src/components/genspectrum/GsAggregate.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/src/components/genspectrum/GsAggregate.astro b/website/src/components/genspectrum/GsAggregate.astro index 693cf588..ef13def5 100644 --- a/website/src/components/genspectrum/GsAggregate.astro +++ b/website/src/components/genspectrum/GsAggregate.astro @@ -1,5 +1,5 @@ --- -import { type LapisFilter } from '@genspectrum/dashboard-components/util'; +import { type LapisFilter, views } from '@genspectrum/dashboard-components/util'; import { defaultTablePageSize } from '../../views/View'; import ComponentWrapper from '../ComponentWrapper.astro'; @@ -16,6 +16,7 @@ const { title, height, fields, lapisFilter } = Astro.props;