command text fix

This commit is contained in:
Jan Prochazka
2021-02-26 20:25:54 +01:00
parent 4f1eb4003a
commit db7f8d6a74
3 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,7 @@
</div>
{#each filteredItems as command, index}
<div class="command" class:selected={index == selectedIndex} on:click={() => handleCommand(command)}>
<div>{command.category}: {command.name}</div>
<div>{command.text}</div>
{#if command.keyText}
<div class="shortcut">{command.keyText}</div>
{/if}