Compare commits

...

2 Commits

4 changed files with 5 additions and 5 deletions

View File

@ -381,7 +381,7 @@ module.exports = {
snapshotIntervals: [],
},
media: {
path: '/home/niels/Projects/traxxx/media',
path: './media',
transferSources: {
local: 'http://localhost:5000/media',
s3: 'https://cdn.traxxx.me',

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.9.2",
"version": "0.9.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.9.2",
"version": "0.9.3",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.9.2"
"version": "0.9.3"
}

View File

@ -47,7 +47,7 @@ const pageContext = inject('pageContext');
const profile = pageContext.pageProps.profile;
function abbreviateNumber(number) {
return number.toLocaleString('en-US', { notation: 'compact' });
return number?.toLocaleString('en-US', { notation: 'compact' }) || 0;
}
console.log(profile.stashes);