ensure component templates exist when presets do not
This commit is contained in:
parent
5f7511e3fd
commit
6b4e6076c3
|
@ -139,7 +139,7 @@
|
|||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{#if component.presets}
|
||||
{#if component.presets || templatesByComponent[component.name]}
|
||||
<Button
|
||||
on:click={() => {
|
||||
selectedComponent = selectedComponent ? null : component.name
|
||||
|
|
Loading…
Reference in New Issue