Added shallow copy to path
This commit is contained in:
@@ -1926,7 +1926,7 @@ class ModelGrid {
|
|||||||
),
|
),
|
||||||
draggable: false,
|
draggable: false,
|
||||||
});
|
});
|
||||||
const searchPath = item.path;
|
const searchPath = item.path.slice(); // shallow copy
|
||||||
const path = SearchPath.systemPath(searchPath, searchSeparator, systemSeparator);
|
const path = SearchPath.systemPath(searchPath, searchSeparator, systemSeparator);
|
||||||
let actionButtons = [];
|
let actionButtons = [];
|
||||||
if (shouldShowTryOpenModelUrl) {
|
if (shouldShowTryOpenModelUrl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user