diff --git a/web/model-manager.js b/web/model-manager.js index 80105cf..195f596 100644 --- a/web/model-manager.js +++ b/web/model-manager.js @@ -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) {