- The fix is in! Linty fresh and pretty...

This commit is contained in:
Mike Fitzpatrick
2019-08-08 16:18:08 -04:00
parent dfc4daf696
commit ebb6f47455
52 changed files with 453 additions and 259 deletions

View File

@@ -29,8 +29,8 @@ export default class Profile extends Record({
}
get initials() {
const firstInitial = this.firstName ? this.firstName.substring(0,1) : null;
const lastInitial = this.firstName ? this.firstName.substring(0,1) : null;
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;