fix compile issue

This commit is contained in:
Ruben Fiszel
2023-02-28 11:18:09 +01:00
parent ba856be10d
commit ea2ebfa92e
2 changed files with 2 additions and 2 deletions
@@ -44,7 +44,7 @@
$selectedComponent = undefined
$focusedGrid = undefined
if (component && !noGrid) {
let ids = deleteGridItem($app, component, parent)
let ids = deleteGridItem($app, component, parent, false)
for (const key of ids) {
delete $staticOutputs[key]
delete $runnableComponents[key]
@@ -28,7 +28,7 @@
function deleteSubgrid(index: number) {
let subgrid = `${component.id}-${index}`
for (const item of $app!.subgrids![subgrid]) {
const components = deleteGridItem($app, item.data, subgrid)
const components = deleteGridItem($app, item.data, subgrid, false)
console.log(components)
for (const key in components) {
delete $staticOutputs[key]