app menu definition in JSON

This commit is contained in:
Jan Prochazka
2022-02-12 07:40:58 +01:00
parent 19a43b6fbc
commit 0c951b4659
9 changed files with 266 additions and 107 deletions

View File

@@ -136,7 +136,7 @@
}}
>
<a on:click={e => handleClick(e, item)} class:disabled={item.disabled}>
{item.text}
{item.text || item.label}
{#if item.keyText}
<span class="keyText">{item.keyText}</span>
{/if}