From 9d87c2091918284691ce13ca5ddc38336b12794d Mon Sep 17 00:00:00 2001 From: Hannah Date: Fri, 2 Feb 2024 14:46:30 +0000 Subject: [PATCH] add show_label check and story test --- js/dataframe/Dataframe.stories.svelte | 39 +++++++++++++++++++++++++++ js/dataframe/Index.svelte | 2 ++ js/dataframe/shared/Table.svelte | 3 ++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/js/dataframe/Dataframe.stories.svelte b/js/dataframe/Dataframe.stories.svelte index c7bd3f4f430fa..70c1c33e5537f 100644 --- a/js/dataframe/Dataframe.stories.svelte +++ b/js/dataframe/Dataframe.stories.svelte @@ -39,6 +39,45 @@ }} /> + + + + +
- {#if label && label.length !== 0} + {#if label && label.length !== 0 && show_label}

{label}