fix: Ensure initials on avatars are always displayed uppercase

This commit is contained in:
Tom Moor
2023-10-17 18:49:33 -04:00
parent ea97963feb
commit caafdb2fe7
3 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ export default class Collection extends ParanoidModel {
*/
@computed
get initial() {
return this.name ? this.name[0] : "?";
return (this.name ? this.name[0] : "?").toUpperCase();
}
fetchDocuments = async (options?: { force: boolean }) => {