fix(script): route usedIn composition references through identity cache

This commit is contained in:
Nigel Ihza Firdausy committed 2026-10-11 21:45:20 +07:00
1 parent d347afb2cb
commit 40e9e7786b
1 file changed
+1 -1
+1 -1
View File
@@ -1376,7 +1376,7 @@ Item.prototype = {
__call("project.select", { items: selection.filter(function (item) { return item !== id; }) });
}
},
get usedIn() { return this.__info().usedIn.map(function (c) { return new CompItem(c); }); },
get usedIn() { return this.__info().usedIn.map(function (c) { return __item(c); }); },
remove: function () { __call("project.delete", { items: [this.__id] }); },
};