From 2d262534d5731725b2b607cd388560b5870a7a06 Mon Sep 17 00:00:00 2001 From: Evgeny Blokhin Date: Thu, 21 Sep 2023 01:52:24 +0200 Subject: [PATCH] Return Nodes vs. FilterPanel *add* button, allow admin view, show tag editing stubs --- src/components/FilterPanel/FilterPanel.svelte | 12 +++++++++++- src/pages/DataSources.svelte | 8 ++++++-- src/pages/Tags.svelte | 4 ++-- src/views/tiles/Collection.svelte | 7 +++++++ src/views/tiles/DataSource.svelte | 2 +- 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/components/FilterPanel/FilterPanel.svelte b/src/components/FilterPanel/FilterPanel.svelte index 816f78b..55223e3 100644 --- a/src/components/FilterPanel/FilterPanel.svelte +++ b/src/components/FilterPanel/FilterPanel.svelte @@ -1,5 +1,10 @@
+ {#if add} + + + + {/if} import { pattern, query, type Param, type Params } from 'svelte-pathfinder'; - import { Autocomplete, Col, Grid, InputGroup, Select } from 'svelte-spectre'; + import { Autocomplete, Col, Grid, IconButton, InputGroup, Select } from 'svelte-spectre'; import { autoColor } from '@/helpers/style'; import { filters, type CollectionDTO } from '@/stores/filters'; @@ -48,6 +53,11 @@