Skip to content

Commit

Permalink
Improve toggleFilter emit on click
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed May 23, 2023
1 parent b31205b commit 6a8a5f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class="oc-filter-chip-button oc-pill"
:class="{ 'oc-filter-chip-button-selected': filterActive }"
appearance="raw"
@click="isToggle ? $emit('toggleFilter') : () => ({})"
@click="isToggle ? $emit('toggleFilter') : false"
>
<oc-icon v-if="filterActive" name="check" size="small" color="var(--oc-color-text-inverse)" />
<span
Expand Down

0 comments on commit 6a8a5f6

Please sign in to comment.