diff --git a/.oxlintrc.json b/.oxlintrc.json index 9e2f7c66..728bd785 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -38,7 +38,8 @@ "id", "ID", "fs", - "os" + "os", + "_" ], "min": 3 } @@ -53,6 +54,7 @@ "oxc/no-optional-chaining": "off", "node/no-process-env": "off", "no-continue": "off", + "vitest/require-hook": "off", "import/unambiguous": "off", "max-params": ["warn", { "max": 4 }], "import/no-nodejs-modules": "off", diff --git a/app/components/Viewer/BreadCrumb.vue b/app/components/Viewer/BreadCrumb.vue index 19f7a5e6..4e7895df 100644 --- a/app/components/Viewer/BreadCrumb.vue +++ b/app/components/Viewer/BreadCrumb.vue @@ -11,38 +11,28 @@ treeviewStore.displayFileTree() } - const model_id = computed(() => treeviewStore.model_id) - - const metaDatas = dataStore.refItem(model_id.value) + const metaDatas = computed(() => dataStore.refItem(treeviewStore.model_id))