Added shallow copy to path

This commit is contained in:
Christian Bastian
2024-09-08 03:25:28 -04:00
parent 1c83e1e028
commit ccff0ba7ca

View File

@@ -1926,7 +1926,7 @@ class ModelGrid {
),
draggable: false,
});
const searchPath = item.path;
const searchPath = item.path.slice(); // shallow copy
const path = SearchPath.systemPath(searchPath, searchSeparator, systemSeparator);
let actionButtons = [];
if (shouldShowTryOpenModelUrl) {