Compare commits
2 Commits
d9a7e3cd04
...
fcfce5acd4
Author | SHA1 | Date |
---|---|---|
|
fcfce5acd4 | |
|
be5eac1194 |
|
@ -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',
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -70,5 +70,5 @@
|
|||
"postcss-custom-media": "^10.0.2",
|
||||
"postcss-nesting": "^12.0.2"
|
||||
},
|
||||
"version": "0.9.2"
|
||||
"version": "0.9.3"
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue