diff --git a/code/websites/pokedex.online/src/components/gamemaster/FilterPanel.vue b/code/websites/pokedex.online/src/components/gamemaster/FilterPanel.vue index 957d578..cad0885 100644 --- a/code/websites/pokedex.online/src/components/gamemaster/FilterPanel.vue +++ b/code/websites/pokedex.online/src/components/gamemaster/FilterPanel.vue @@ -8,7 +8,11 @@ @change="applyFilter" > - @@ -77,14 +81,18 @@ const { getUniqueValues } = useJsonFilter(); -const hasData = computed(() => Array.isArray(props.data) && props.data.length > 0); +const hasData = computed( + () => Array.isArray(props.data) && props.data.length > 0 +); const valueSuggestions = computed(() => { if (!filterProperty.value) return []; return getUniqueValues(filterProperty.value).slice(0, 50); }); -const valueListId = computed(() => `filter-values-${filterProperty.value || 'all'}`); +const valueListId = computed( + () => `filter-values-${filterProperty.value || 'all'}` +); function applyFilter() { setFilter(filterProperty.value, filterValue.value, filterMode.value);