fix(editor): Use proper composable for localization (#8660)

This commit is contained in:
Csaba Tuncsik 2024-02-16 14:51:29 +01:00 committed by GitHub
parent 506367453c
commit 9c0fe413d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1055,7 +1055,7 @@ export function useWorkflowHelpers(router: Router) {
uiStore.removeActiveAction('workflowSaving');
toast.showMessage({
title: $locale.baseText('workflowHelpers.showMessage.title'),
title: i18n.baseText('workflowHelpers.showMessage.title'),
message: (e as Error).message,
type: 'error',
});