diff --git a/web-src/src/filter/index.js b/web-src/src/filter/index.js index 0fca47a7..d4c982f7 100644 --- a/web-src/src/filter/index.js +++ b/web-src/src/filter/index.js @@ -41,9 +41,6 @@ export const filters = { const format = value >= 3600000 ? 'h:mm:ss' : 'm:ss' return Duration.fromMillis(value).toFormat(format) }, - number(value) { - return value.toLocaleString(locale.value) - }, timeFromNow(value) { return DateTime.fromISO(value).toRelative({ unit: ['years', 'months', 'days', 'hours', 'minutes', 'seconds'] diff --git a/web-src/src/pages/PageAbout.vue b/web-src/src/pages/PageAbout.vue index 31e82c05..46b2a52b 100644 --- a/web-src/src/pages/PageAbout.vue +++ b/web-src/src/pages/PageAbout.vue @@ -127,15 +127,15 @@ export default { }, { label: 'property.artists', - value: this.$filters.number(this.libraryStore.artists) + value: this.$n(this.libraryStore.artists) }, { label: 'property.albums', - value: this.$filters.number(this.libraryStore.albums) + value: this.$n(this.libraryStore.albums) }, { label: 'property.tracks', - value: this.$filters.number(this.libraryStore.songs) + value: this.$n(this.libraryStore.songs) }, { label: 'property.playtime',