mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-12 01:30:46 +01:00
fix: issue with new console and languages different than english, fixes #837
This commit is contained in:
parent
8f2daa0f1c
commit
59f7d3c670
@ -341,7 +341,7 @@ onMounted(() => {
|
||||
lastTableFields.value = res.response.map((field: { name: string }) => field.name);
|
||||
editor.value.completers = [tableFieldsCompleter.value];
|
||||
editor.value.execCommand('startAutocomplete');
|
||||
}).catch(console.log);
|
||||
}).catch(console.error);
|
||||
}
|
||||
else
|
||||
editor.value.completers = customCompleter.value;
|
||||
|
@ -46,6 +46,8 @@ export type AvailableLocale = keyof typeof messages
|
||||
|
||||
const i18n = createI18n<[NestedPartial<MessageSchema>], AvailableLocale>({
|
||||
fallbackLocale: 'en-US',
|
||||
silentTranslationWarn: true,
|
||||
silentFallbackWarn: true,
|
||||
allowComposition: true,
|
||||
messages
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user