Skip to content

Commit

Permalink
chore: add .value to controls in aside file
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Apr 3, 2024
1 parent c7a6650 commit b0fc806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/x-components/src/views/home/aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
Facet,
SimpleFilter as SimpleFilterModel
} from '@empathyco/x-types';
import { defineComponent, inject } from 'vue';
import { defineComponent, inject, Ref } from 'vue';
import BasePriceFilterLabel from '../../components/filters/labels/base-price-filter-label.vue';
import EditableNumberPriceRangeFilter from '../../x-modules/facets/components/filters/editable-number-range-filter.vue';
import ChevronDown from '../../components/icons/chevron-down.vue';
Expand Down Expand Up @@ -177,7 +177,7 @@
SortedFilters
},
setup() {
const controls = inject<HomeControls>('controls') as HomeControls;
const controls = inject<Ref<HomeControls>>('controls')?.value;
const editableNumberRangeFilter: EditableNumberRangeFilter = {
facetId: 'salePrice',
selected: false,
Expand Down

0 comments on commit b0fc806

Please sign in to comment.