fix title tag when owner had no name set

This commit is contained in:
Lisa P 2016-01-20 13:12:07 +01:00
parent 6efb2ac449
commit 3e7a8b694e

View File

@ -6,7 +6,8 @@ export default TravisRoute.extend({
needsAuth: false,
titleToken(model) {
return "" + model.name;
var name = model.name || model.login;
return name;
},
model(params, transition) {