one more null check

This commit is contained in:
Peter Clement 2022-05-10 15:21:54 +01:00
parent 0cb87c601e
commit b43fe44468
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
{/if} {/if}
</div> </div>
{#if automation.showTestPanel} {#if automation?.showTestPanel}
<div class="setup"><TestPanel {automation} /></div> <div class="setup"><TestPanel {automation} /></div>
{/if} {/if}
<Modal bind:this={modal}> <Modal bind:this={modal}>