Fix crash when referencing a component definition that doesn't exist

This commit is contained in:
Andrew Kingston 2021-07-07 17:07:16 +01:00
parent b8d1809a2c
commit 948ad092e5
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
}
</script>
{#if definition.editable !== false}
{#if definition?.editable !== false}
<ActionMenu>
<div slot="control" class="icon">
<Icon size="S" hoverable name="MoreSmallList" />