Skip to content
This repository was archived by the owner on Aug 14, 2018. It is now read-only.

Commit 751917e

Browse files
Changing to
1 parent b0d8d61 commit 751917e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/experts-profile.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ <h2>Skills</h2>
483483
console.debug("[experts-profile] _handleAccountInfo - apiUser",this._apiUser);
484484
evt.stopPropagation();
485485
if (this._apiUser && this._apiUser.email) {
486-
if (this._apiUser.type) {
487-
this.set('user.category', this._apiUser.type);
488-
this.set('user.isExpert', (this._apiUser.type !== 'deleted'));
486+
if (this._apiUser.expert_type) {
487+
this.set('user.category', this._apiUser.expert_type);
488+
this.set('user.isExpert', (this._apiUser.expert_type !== 'deleted'));
489489
}
490490
this.set('user.skills', this._apiUser.skills);
491491
this.set('user.biography', this._apiUser.biography);

0 commit comments

Comments
 (0)