Skip to content
Snippets Groups Projects
Commit af2f80b8 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

fix error facet

parent 712e7328
No related branches found
No related tags found
No related merge requests found
Pipeline #118485 passed
......@@ -4,13 +4,13 @@ import type { FacetDistribution, FacetStat } from 'meilisearch';
export interface Facets {
facetDistribution: FacetDistribution | undefined;
facetStat: FacetStat | undefined;
facetStats: FacetStat | undefined;
}
export const useFacetsStore = defineStore('facets', () => {
const facets: Ref<Facets> = ref({ facetDistribution: undefined, facetStat: undefined })
const facets: Ref<Facets> = ref({ facetDistribution: undefined, facetStats: undefined })
function setFacets(newFacets: Facets) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment