From 88204350412ef06ff0a183971ae5591c3923b6d0 Mon Sep 17 00:00:00 2001 From: Naegelin <> Date: Fri, 12 Aug 2022 10:18:37 +0200 Subject: [PATCH] rename show to active --- src/DataTable/ToolbarBatchActions.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataTable/ToolbarBatchActions.svelte b/src/DataTable/ToolbarBatchActions.svelte index 4a05bdb3..c58307cf 100644 --- a/src/DataTable/ToolbarBatchActions.svelte +++ b/src/DataTable/ToolbarBatchActions.svelte @@ -10,14 +10,14 @@ * Set to `true` to show the toolbar regardless of row selection * @type {boolean} */ - export let show = false; + export let active = false; import { onMount, getContext } from "svelte"; import Button from "../Button/Button.svelte"; let batchSelectedIds = []; - $: showActions = batchSelectedIds.length > 0 || show; + $: showActions = batchSelectedIds.length > 0 || active; const ctx = getContext("DataTable"); const unsubscribe = ctx.batchSelectedIds.subscribe((value) => {