Fix card infinite scrolling on card activities

I imagine blaze-component changed their Mixins API since I written
this code. We need some tests to avoid this kind of regressions when
updating dependencies!

Fixes #420
This commit is contained in:
Maxime Quandalle 2016-01-03 23:22:08 +01:00
parent 8c01d51577
commit 46747b01fb
3 changed files with 8 additions and 11 deletions

View file

@ -94,9 +94,7 @@ BlazeComponent.extendComponent({
},
events() {
// XXX Hacky, we need some kind of `super`
const mixinEvents = this.getMixin(Mixins.InfiniteScrolling).events();
return [...mixinEvents, {
return [{
'click .js-hide-sidebar': this.hide,
'click .js-toggle-sidebar': this.toggle,
'click .js-back-home': this.setView,