diff --git a/front/.eslintrc.cjs b/front/.eslintrc.cjs index bf893b886..d368a5c6e 100644 --- a/front/.eslintrc.cjs +++ b/front/.eslintrc.cjs @@ -6,8 +6,7 @@ module.exports = { extends: [ 'plugin:@intlify/vue-i18n/recommended', 'plugin:vue/vue3-recommended', - '@vue/typescript/recommended', - '@vue/standard' + '@vue/typescript/recommended' ], globals: { SharedArrayBuffer: 'readonly', diff --git a/front/package.json b/front/package.json index c74c5a4be..93ca73245 100644 --- a/front/package.json +++ b/front/package.json @@ -60,6 +60,7 @@ "universal-cookie": "4.0.4", "vite-plugin-pwa": "0.14.4", "vue": "3.5.13", + "vue-dompurify-html": "5.2.0", "vue-gettext": "2.1.12", "vue-i18n": "9.9.1", "vue-router": "4.2.5", diff --git a/front/src/App.vue b/front/src/App.vue index eb011e685..7832ed209 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -21,6 +21,7 @@ import ShortcutsModal from '~/ui/modals/Shortcuts.vue' import LanguagesModal from '~/ui/modals/Language.vue' import SearchModal from '~/ui/modals/Search.vue' import UploadModal from '~/ui/modals/Upload.vue' +import Loader from '~/components/ui/Loader.vue' // Fake content onMounted(async () => { @@ -93,7 +94,7 @@ store.dispatch('auth/fetchUser') diff --git a/front/src/components/About.vue b/front/src/components/About.vue index 79b78bd3a..7dbfbcacb 100644 --- a/front/src/components/About.vue +++ b/front/src/components/About.vue @@ -147,7 +147,7 @@ const federationEnabled = computed(() => {

@@ -219,14 +219,14 @@ const federationEnabled = computed(() => { {{ stats.users?.toLocaleString(store.state.ui.momentLocale) }}
- {{ stats.users ? t('components.About.stat.activeUsers', stats.users) : "—" }} + {{ stats.users ? t('components.About.stat.activeUsers', stats.users) : "" }}

- {{ stats.hours ? stats.hours.toLocaleString(store.state.ui.momentLocale) : "—" }} + {{ stats.hours ? stats.hours.toLocaleString(store.state.ui.momentLocale) : "" }}
- {{ stats.hours ? t('components.About.stat.hoursOfMusic', stats.hours) : "—" }} + {{ stats.hours ? t('components.About.stat.hoursOfMusic', stats.hours) : "" }}
diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 479125271..2426fd804 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -246,8 +246,8 @@ if (!isWebGLSupported) { @click="enter" />