From c3946b4bb5577d3b3455d1c6fc190ef40d5c8e75 Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Fri, 24 Jan 2025 10:56:48 +0500 Subject: [PATCH] web: (wip) add command palette Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> --- apps/web/src/dialogs/command-palette/command-palette-dialog.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx b/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx index 2e877e3d2a..2ac5366f73 100644 --- a/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx +++ b/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx @@ -114,6 +114,7 @@ export const CommandPaletteDialog = DialogManager.register( }); if (action) { action(command.id); + reset(); props.onClose(true); } setSelected(0); @@ -170,6 +171,7 @@ export const CommandPaletteDialog = DialogManager.register( }); if (action) { action(command.id); + reset(); props.onClose(true); } }}