Use command label as header text in change keybinding dialog (#2404)

This commit is contained in:
bymyself
2025-02-02 19:02:48 -07:00
committed by GitHub
parent b8f187713e
commit 83759b9a4a
2 changed files with 3 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ test.describe('Settings', () => {
// Save keybinding
const saveButton = comfyPage.page
.getByLabel('Comfy.NewBlankWorkflow')
.getByLabel('New Blank Workflow')
.getByLabel('Save')
await saveButton.click()

View File

@@ -68,7 +68,7 @@
class="min-w-96"
v-model:visible="editDialogVisible"
modal
:header="currentEditingCommand?.id"
:header="currentEditingCommand?.label"
@hide="cancelEdit"
>
<div>
@@ -151,6 +151,7 @@ const { t } = useI18n()
interface ICommandData {
id: string
keybinding: KeybindingImpl | null
label: string
}
const commandsData = computed<ICommandData[]>(() => {