@swiss-ai-hub/web 0.301.5 → 0.301.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,14 @@ export const useDataset = defineQuery(() => {
10
10
  staleTime: minutesToMilliseconds(5),
11
11
  enabled: useTenantReady('dataset_id'),
12
12
  query: async () => {
13
+ const datasetId = route.params.dataset_id as string | undefined
14
+ if (!datasetId) return
15
+
13
16
  return await getDataset({
14
17
  composable: '$fetch',
15
18
  path: {
16
19
  tenant_id: tenantId.value!,
17
- dataset_id: route.params.dataset_id as string,
20
+ dataset_id: datasetId,
18
21
  },
19
22
  })
20
23
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "bbv Software Services AG (https://www.bbv.ch)",
5
5
  "type": "module",
6
- "version": "0.301.5",
6
+ "version": "0.301.7",
7
7
  "description": "Swiss AI Hub - Admin & Management UI (Nuxt 3 layer)",
8
8
  "main": "./nuxt.config.ts",
9
9
  "repository": {