ensure component templates exist when presets do not

This commit is contained in:
Michael Shanks 2020-02-20 17:09:14 +00:00
parent 5f7511e3fd
commit 6b4e6076c3
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@
</ul>
{/if}
</div>
{#if component.presets}
{#if component.presets || templatesByComponent[component.name]}
<Button
on:click={() => {
selectedComponent = selectedComponent ? null : component.name