diff --git a/components/content/pdockqMatrix.vue b/components/content/pdockqMatrix.vue index 15599df8ce6a81de0ffc050f00fd554e0b30f0cc..5b1694622e434f8693ebda29464d2af5f3b731e9 100644 --- a/components/content/pdockqMatrix.vue +++ b/components/content/pdockqMatrix.vue @@ -30,6 +30,26 @@ const margin = ref<PlotMargin>({ marginLeft: 150 }) + +onMounted(async () => { + + const { data: d, error } = await useAsyncMeiliSearch({ + index: toValue(dbName), query: "", params: { + facets: ["*"], + filter: [ + `System='${toValue(computedSystem)}'`, + ...toValue(filterBase) + ], + } + }) + data.value = d.value + if (error.value) { + throw createError("Error while getting structure pdocks") + } + +}) + + const computedSystem = computed(() => { const toValPage = toValue(page) const toValSystem = toValue(system)