From 93ba15cf94b730fd8997c86f8f609ed4f6b221d7 Mon Sep 17 00:00:00 2001 From: Denis Maslennikov Date: Tue, 28 Mar 2023 10:44:57 +0700 Subject: [PATCH] Add ability to hide checkboxes Signed-off-by: Denis Maslennikov --- plugins/view-resources/src/components/TableBrowser.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/view-resources/src/components/TableBrowser.svelte b/plugins/view-resources/src/components/TableBrowser.svelte index c2b77fe7e10..cd54a9dfd58 100644 --- a/plugins/view-resources/src/components/TableBrowser.svelte +++ b/plugins/view-resources/src/components/TableBrowser.svelte @@ -31,6 +31,7 @@ export let baseMenuClass: Ref> | undefined = undefined export let config: (BuildModelKey | string)[] export let showFilterBar = true + export let enableChecking = true // If defined, will show a number of dummy items before real data will appear. export let loadingProps: LoadingProps | undefined = undefined @@ -92,7 +93,7 @@ {baseMenuClass} {loadingProps} highlightRows={true} - enableChecking + {enableChecking} showFooter checked={$selectionStore ?? []} {prefferedSorting}