@geode/opengeodeweb-front 10.26.0 → 10.26.1
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.
package/.oxlintrc.json
CHANGED
|
@@ -28,7 +28,7 @@ export function useHoverhighlight() {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
block_ids = (Array.isArray(block_ids) ? block_ids : [])
|
|
31
|
-
.map((blockId) =>
|
|
31
|
+
.map((blockId) => Math.trunc(Number(blockId)))
|
|
32
32
|
.filter((blockId) => !Number.isNaN(blockId));
|
|
33
33
|
|
|
34
34
|
if (currentId !== id) {
|
package/app/stores/data.js
CHANGED
|
@@ -178,7 +178,7 @@ export const useDataStore = defineStore("data", () => {
|
|
|
178
178
|
|
|
179
179
|
async function getAllModelComponentsViewerIds(modelId) {
|
|
180
180
|
const components = await model_components_db.where("id").equals(modelId).toArray();
|
|
181
|
-
return components.map((component) =>
|
|
181
|
+
return components.map((component) => Math.trunc(Number(component.viewer_id)));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
async function getMeshComponentsViewerIds(modelId, meshComponentGeodeIds) {
|
|
@@ -186,7 +186,7 @@ export const useDataStore = defineStore("data", () => {
|
|
|
186
186
|
.where("[id+geode_id]")
|
|
187
187
|
.anyOf(meshComponentGeodeIds.map((geode_id) => [modelId, geode_id]))
|
|
188
188
|
.toArray();
|
|
189
|
-
return components.map((component) =>
|
|
189
|
+
return components.map((component) => Math.trunc(Number(component.viewer_id)));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
async function exportStores() {
|
package/package.json
CHANGED