Fix properties
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|
||||
function ungroup() {
|
||||
const item = layoutState.getCurrentSelection()[0]
|
||||
if (item.type !== "container")
|
||||
if (!item || item.type !== "container")
|
||||
return;
|
||||
|
||||
$layoutState.currentSelection = []
|
||||
|
||||
Reference in New Issue
Block a user