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 fb6c115adf
commit 0ff1f0fbe9
1 changed files with 1 additions and 1 deletions

View File

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