command palette search placeholder

This commit is contained in:
Jan Prochazka 2022-02-10 08:31:39 +01:00
parent da44c36660
commit fcb0f45a4b

View File

@ -176,7 +176,8 @@
bind:this={domInput} bind:this={domInput}
bind:value={filter} bind:value={filter}
on:keydown={handleKeyDown} on:keydown={handleKeyDown}
placeholder={parentCommand?.text || ''} placeholder={parentCommand?.text ||
($visibleCommandPalette == 'database' ? 'Search in database' : 'Search in commands')}
/> />
</div> </div>
<div class="content"> <div class="content">