Fix show more button for builds
While doing search and replace I accidentally replaced too much occurences of 'builds'
This commit is contained in:
parent
0a872e25a7
commit
557797ab19
|
@ -13,7 +13,7 @@ export default Ember.Controller.extend({
|
||||||
var id, number, type;
|
var id, number, type;
|
||||||
id = this.get('repo.id');
|
id = this.get('repo.id');
|
||||||
number = this.get('model.lastObject.number');
|
number = this.get('model.lastObject.number');
|
||||||
type = this.get('tab') === "model" ? 'push' : 'pull_request';
|
type = this.get('tab') === "builds" ? 'push' : 'pull_request';
|
||||||
return this.get('model').load(this.olderThanNumber(id, number, type));
|
return this.get('model').load(this.olderThanNumber(id, number, type));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user