fix: refs #6426 create constants #1228

Merged
carlossa merged 16 commits from 6426-refactorConstants into dev 2025-02-07 08:22:55 +00:00
2 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,2 @@
export const langs = ['en', 'es'];
export const decimalPlaces = 2;

View File

@ -1,12 +1,12 @@
<script setup>
import { Dark, Quasar } from 'quasar';
import { computed } from 'vue';
import { computed, onMounted } from 'vue';
import { useI18n } from 'vue-i18n';
import { localeEquivalence } from 'src/i18n/index';
carlossa marked this conversation as resolved Outdated
Outdated
Review

Quitar comentario

Quitar comentario
Outdated
Review

Quitar comentario, no la linea entera

Quitar comentario, no la linea entera
import quasarLang from 'src/utils/quasarLang';
import { langs } from 'src/boot/defaults/constants.js';
const { t, locale } = useI18n();
const userLocale = computed({
get() {
return locale.value;
@ -28,7 +28,6 @@ const darkMode = computed({
Dark.set(value);
},
});
const langs = ['en', 'es'];
</script>
<template>