From 9b0c6444d987194f656ed892c44b37cd2132dd30 Mon Sep 17 00:00:00 2001 From: Kristen Tian Date: Wed, 14 Jun 2023 14:54:18 -0700 Subject: [PATCH] fix cypress test --- src/plugins/home/server/services/sample_data/routes/list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/home/server/services/sample_data/routes/list.ts b/src/plugins/home/server/services/sample_data/routes/list.ts index 3ec765b3a239..0f18f942f84e 100644 --- a/src/plugins/home/server/services/sample_data/routes/list.ts +++ b/src/plugins/home/server/services/sample_data/routes/list.ts @@ -55,7 +55,7 @@ export const createListRoute = (router: IRouter, sampleDatasets: SampleDatasetSc description: sampleDataset.description, previewImagePath: sampleDataset.previewImagePath, darkPreviewImagePath: sampleDataset.darkPreviewImagePath, - overviewDashboard: sampleDataset.overviewDashboard, + overviewDashboard: sampleDataset.overviewDashboard(dataSourceId), appLinks: sampleDataset.appLinks, defaultIndex: sampleDataset.defaultIndex(dataSourceId), dataIndices: sampleDataset.dataIndices.map(({ id }) => ({ id })),