From fcb0f45a4b19ddb9c5622e2c1ee7c12710271360 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 10 Feb 2022 08:31:39 +0100 Subject: [PATCH] command palette search placeholder --- packages/web/src/commands/CommandPalette.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/commands/CommandPalette.svelte b/packages/web/src/commands/CommandPalette.svelte index 16fbfe13..c906ebfb 100644 --- a/packages/web/src/commands/CommandPalette.svelte +++ b/packages/web/src/commands/CommandPalette.svelte @@ -176,7 +176,8 @@ bind:this={domInput} bind:value={filter} on:keydown={handleKeyDown} - placeholder={parentCommand?.text || ''} + placeholder={parentCommand?.text || + ($visibleCommandPalette == 'database' ? 'Search in database' : 'Search in commands')} />