From d57b3d9a6dd1f077a87a89488080adf7b5f73ed8 Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sat, 3 May 2025 20:53:30 +0800 Subject: [PATCH] Update CommandInputBar.vue --- packages/frontend/src/components/CommandInputBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/CommandInputBar.vue b/packages/frontend/src/components/CommandInputBar.vue index 0599f60..b28699d 100644 --- a/packages/frontend/src/components/CommandInputBar.vue +++ b/packages/frontend/src/components/CommandInputBar.vue @@ -19,7 +19,7 @@ const sessionStore = useSessionStore(); // +++ 初始化 Session Store +++ // Get reactive setting from store const { commandInputSyncTarget } = storeToRefs(settingsStore); // Get reactive state and actions from quick commands store -const { selectedIndex: quickCommandsSelectedIndex, filteredAndSortedCommands: quickCommandsFiltered } = storeToRefs(quickCommandsStore); +const { selectedIndex: quickCommandsSelectedIndex, flatVisibleCommands: quickCommandsFiltered } = storeToRefs(quickCommandsStore); const { resetSelection: resetQuickCommandsSelection } = quickCommandsStore; // Get reactive state and actions from command history store const { selectedIndex: historySelectedIndex, filteredHistory: historyFiltered } = storeToRefs(commandHistoryStore);