mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 23:51:48 +01:00
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:
parent
8c01d51577
commit
46747b01fb
3 changed files with 8 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue