From 00a834b143b1d05d26141c27b1e6c66a905b907d Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 18 Feb 2025 14:38:48 +0100 Subject: [PATCH] ui: preset default chart view for few tablelike charts --- .../components/DashboardList/NewDashModal/ExampleCards.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx index cdc907a9f..17945fbfb 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/ExampleCards.tsx @@ -136,7 +136,8 @@ export const CARD_LIST: CardType[] = [ cardType: TABLE, metricOf: FilterKey.USERID, category: CARD_CATEGORIES[1].key, - example: ByUser + example: ByUser, + viewType: 'table', }, { @@ -145,7 +146,8 @@ export const CARD_LIST: CardType[] = [ cardType: TABLE, metricOf: FilterKey.USER_BROWSER, category: CARD_CATEGORIES[1].key, - example: ByBrowser + example: ByBrowser, + viewType: 'table', }, // { // title: 'Sessions by System',