@bimdata/bcf-components 6.4.1 → 6.4.2
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/package.json
CHANGED
|
@@ -409,7 +409,9 @@ export default {
|
|
|
409
409
|
|
|
410
410
|
// Avoid updating snapshots as it is not possible
|
|
411
411
|
// (you can only create/delete snapshots).
|
|
412
|
-
viewpointsToUpdate.value = viewpoints.value
|
|
412
|
+
viewpointsToUpdate.value = viewpoints.value
|
|
413
|
+
.filter(viewpoint => !viewpointsToDelete.value.some(v => v.guid && v.guid === viewpoint.guid))
|
|
414
|
+
.map(viewpoint => ({
|
|
413
415
|
...viewpoint,
|
|
414
416
|
snapshot: undefined,
|
|
415
417
|
}));
|