[CodeHealth] Add various minor fixes - logging, missed i18n (#3895)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
filtered
2025-05-15 22:04:48 +10:00
committed by GitHub
parent 59ce169ec9
commit 7f2b8a5321
12 changed files with 23 additions and 18 deletions

View File

@@ -70,7 +70,7 @@ import { usePaste } from '@/composables/usePaste'
import { useWorkflowAutoSave } from '@/composables/useWorkflowAutoSave'
import { useWorkflowPersistence } from '@/composables/useWorkflowPersistence'
import { CORE_SETTINGS } from '@/constants/coreSettings'
import { i18n } from '@/i18n'
import { i18n, t } from '@/i18n'
import type { NodeId } from '@/schemas/comfyWorkflowSchema'
import { UnauthorizedError, api } from '@/scripts/api'
import { app as comfyApp } from '@/scripts/app'
@@ -230,7 +230,7 @@ useEventListener(
() => {
toastStore.add({
severity: 'warn',
summary: 'No items selected',
summary: t('toastMessages.nothingSelected'),
life: 2000
})
},