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

update

parent 2fdfa9e1
No related branches found
No related tags found
No related merge requests found
Pipeline #119203 canceled
......@@ -69,7 +69,7 @@ const computedWidth = computed(() => {
return Math.max(currentWidth, 550);
});
const allHits = ref([])
const allHits: Ref<Record<string, any> | undefined> = ref(undefined)
onMounted(async () => {
const params = {
facets: ["*"],
......@@ -80,7 +80,7 @@ onMounted(async () => {
await getAllHits({ index: "refseq", params, query: "" })
})
async function getAllHits(params) {
async function getAllHits(params: { index: string, params: Record<string, any>, query: string }) {
if (params.index === 'refseq') {
const { data, error } = await useAsyncMeiliSearch(params)
allHits.value = data.value
......@@ -191,8 +191,8 @@ function namesToAccessionChips(names: string[]) {
}
})
}
const systemPanel: Ref<number> = ref(["table"])
const layoutPlot: Ref<string[]> = ref("grid")
const systemPanel: Ref<string[]> = ref([])
const layoutPlot: Ref<string> = ref("grid")
const binPlotOptions = ref({
marginLeft: 150,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment