From bef2dd620b4b01669e3ad7d98ab827e018ecf87f Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sun, 27 Apr 2025 09:38:24 +0800 Subject: [PATCH] update --- packages/frontend/src/views/CommandHistoryView.vue | 8 ++++---- packages/frontend/src/views/QuickCommandsView.vue | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/frontend/src/views/CommandHistoryView.vue b/packages/frontend/src/views/CommandHistoryView.vue index cdd348b..d284535 100644 --- a/packages/frontend/src/views/CommandHistoryView.vue +++ b/packages/frontend/src/views/CommandHistoryView.vue @@ -37,19 +37,19 @@ v-for="(entry, index) in filteredHistory" :key="entry.id" class="group flex justify-between items-center px-3 py-2.5 mb-1 cursor-pointer rounded-md hover:bg-primary/10 transition-colors duration-150" - :class="{ 'bg-primary/20 text-white font-medium': index === storeSelectedIndex }" + :class="{ 'bg-primary/20 font-medium': index === storeSelectedIndex }" @click="executeCommand(entry.command)" > - {{ entry.command }} + {{ entry.command }}
- -
diff --git a/packages/frontend/src/views/QuickCommandsView.vue b/packages/frontend/src/views/QuickCommandsView.vue index 8985432..81bf106 100644 --- a/packages/frontend/src/views/QuickCommandsView.vue +++ b/packages/frontend/src/views/QuickCommandsView.vue @@ -45,24 +45,24 @@ v-for="(cmd, index) in filteredAndSortedCommands" :key="cmd.id" class="group flex justify-between items-center px-3 py-2.5 mb-1 cursor-pointer rounded-md hover:bg-primary/10 transition-colors duration-150" - :class="{ 'bg-primary/20 text-white font-medium': index === storeSelectedIndex }" + :class="{ 'bg-primary/20 font-medium': index === storeSelectedIndex }" @click="executeCommand(cmd)" >
- {{ cmd.name }} - {{ cmd.command }} + {{ cmd.name }} + {{ cmd.command }}
- {{ cmd.usage_count }} + {{ cmd.usage_count }} - -