diff --git a/browser_tests/dialog.spec.ts b/browser_tests/dialog.spec.ts index e17234c62..9479a0917 100644 --- a/browser_tests/dialog.spec.ts +++ b/browser_tests/dialog.spec.ts @@ -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() diff --git a/src/components/dialog/content/setting/KeybindingPanel.vue b/src/components/dialog/content/setting/KeybindingPanel.vue index fbad90535..70387c699 100644 --- a/src/components/dialog/content/setting/KeybindingPanel.vue +++ b/src/components/dialog/content/setting/KeybindingPanel.vue @@ -68,7 +68,7 @@ class="min-w-96" v-model:visible="editDialogVisible" modal - :header="currentEditingCommand?.id" + :header="currentEditingCommand?.label" @hide="cancelEdit" >
@@ -151,6 +151,7 @@ const { t } = useI18n() interface ICommandData { id: string keybinding: KeybindingImpl | null + label: string } const commandsData = computed(() => {