Removed local path from default config. Added count fallback in stash tile.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user