ensure component templates exist when presets do not
This commit is contained in:
parent
5f7511e3fd
commit
6b4e6076c3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue