From a60767e0037c5897949bc22f0df62a440b1cc909 Mon Sep 17 00:00:00 2001 From: Kunal Date: Tue, 18 May 2021 13:48:35 -0700 Subject: [PATCH] update column width md screens (#4392) Co-authored-by: kunal --- .../InsightHistoryPanel.tsx | 2 +- frontend/src/scenes/onboarding/home/Home.scss | 2 +- .../home/sections/DiscoverInsight.tsx | 25 ++++++++++++++++--- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/frontend/src/scenes/insights/InsightHistoryPanel/InsightHistoryPanel.tsx b/frontend/src/scenes/insights/InsightHistoryPanel/InsightHistoryPanel.tsx index 7212e2d6c03..8adac6c7c8e 100644 --- a/frontend/src/scenes/insights/InsightHistoryPanel/InsightHistoryPanel.tsx +++ b/frontend/src/scenes/insights/InsightHistoryPanel/InsightHistoryPanel.tsx @@ -56,7 +56,7 @@ function InsightPane({ {loading && } {data && data.map((insight: DashboardItemType, index: number) => ( - 1 ? 8 : 12} key={insight.id} style={{ height: 270 }}> + 1 ? 8 : 12} key={insight.id} style={{ height: 270 }}> { loadInsights() loadTeamInsights() + loadSavedInsights() }, []) return ( @@ -181,10 +189,19 @@ export function DiscoverInsightsModule(): JSX.Element { - {(insights.length > 0 || teamInsights.length > 0) && } + {(insights.length > 0 || teamInsights.length > 0 || savedInsights.length > 0) && ( + + )}