{groupData.info.name} - {data.globals.config.siteShortName}
@@ -113,6 +132,25 @@
on:filter={e => { filterSelections = e.detail; }}
/>
+ {:else}
+
+
Groups used for filtering
+ {#each filterGroups as [filterGroup, selected]}
+ {
+ // Toggle filtering for this group
+ const g = filterGroups.find(([g]) => g === filterGroup);
+ if (g) {
+ g[1] = !selected;
+ }
+ filterGroups = [...filterGroups];
+ }}
+ />
+ {/each}
+
{/if}
@@ -168,6 +206,12 @@
#filters {
width: 100%;
}
+ .filter-group-selection {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ width: 98%;
+ }
.item-list {
width: 100%;
}