Skip to content

Commit

Permalink
Fix feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyHoenderdaal committed Apr 16, 2024
1 parent 67693cd commit 92db10b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/css/components/category.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.pop-category {
.filter-category {
@apply text-inactive text-sm;
ul {
@apply pl-3 relative;
Expand Down
4 changes: 3 additions & 1 deletion resources/views/listing/partials/filter/category.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<div slot-scope="{ aggregations, setQuery, value }">
<category-filter :aggregations="aggregations" :value="value" :set-query="setQuery">
<div slot-scope="{ hasResults, results }">
<ul class="pop-category">
<strong v-if="hasResults">@lang('Category')</strong>
<input class="hidden" type="radio" name="category" value="" :checked="!value" v-on:change="setQuery({})"/>
<ul class="filter-category">
<category-filter-category
v-for="category in results"
v-bind:key="category.key"
Expand Down

0 comments on commit 92db10b

Please sign in to comment.