fix title tag when owner had no name set
This commit is contained in:
parent
6efb2ac449
commit
3e7a8b694e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user