- Stuff
This commit is contained in:
@@ -28,6 +28,17 @@ export default class Profile extends Record({
|
||||
return `${this.firstName} ${this.lastName}`;
|
||||
}
|
||||
|
||||
get initials() {
|
||||
const firstInitial = this.firstName ? this.firstName.substring(0,1) : null;
|
||||
const lastInitial = this.firstName ? this.firstName.substring(0,1) : null;
|
||||
|
||||
if (!firstInitial && !lastInitial) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return `${firstInitial || ''}${lastInitial || ''}`;
|
||||
}
|
||||
|
||||
get isRegisteredAccount() {
|
||||
return (
|
||||
this.hasLinkedApple ||
|
||||
|
||||
Reference in New Issue
Block a user