Removed local path from default config. Added count fallback in stash tile.

This commit is contained in:
2024-03-17 05:19:28 +01:00
parent d9a7e3cd04
commit be5eac1194
2 changed files with 2 additions and 2 deletions

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);