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