Skip to content

Commit

Permalink
Include specialty in drop-down
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Bedford committed May 26, 2016
1 parent 2099086 commit 4c3622f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/consultants/consultant-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ConsultantModel.prototype = Object.create(Model.prototype);

ConsultantModel.prototype.toString = function() {
return this.firstName + ' ' + this.lastName;
return this.firstName + ' ' + this.lastName + ' (' + this.specialty.name + ')';
};

return ConsultantModel;
Expand Down

0 comments on commit 4c3622f

Please sign in to comment.