#6098 - Show Toast when copy token #141

Merged
jsegarra merged 6 commits from 6098_lilium_token_copy into dev 2024-01-03 10:44:29 +00:00
1 changed files with 2 additions and 5 deletions
Showing only changes of commit 899ccc097a - Show all commits

View File

@ -22,14 +22,11 @@ const userLocale = computed({
if (value === 'en') value = 'en-GB';
// FIXME: Dynamic imports from absolute paths are not compatible with vite:
// https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations
try {
const langList = import.meta.glob('../../node_modules/quasar/lang/*.mjs');
langList[`../../node_modules/quasar/lang/${value}.mjs`]().then((lang) => {
import(`../../node_modules/quasar/lang/${value}.mjs`).then((lang) => {
Quasar.lang.set(lang.default);
});
} catch (error) {
} catch (error) {
//
}
},