Compare commits

...

2 Commits

4 changed files with 5 additions and 5 deletions

View File

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

4
package-lock.json generated
View File

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

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2", "postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.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; const profile = pageContext.pageProps.profile;
function abbreviateNumber(number) { function abbreviateNumber(number) {
return number.toLocaleString('en-US', { notation: 'compact' }); return number?.toLocaleString('en-US', { notation: 'compact' }) || 0;
} }
console.log(profile.stashes); console.log(profile.stashes);