summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:22:08 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:40:08 +0100
commit46747b01fb3eb42901518a3fdb8a5f6d823465eb (patch)
tree73c203c7c47f6a74c4f4d7aa20854b2d401d2d2f /client/components/sidebar
parent8c01d51577e3748d2c1b38b247d6c2cc4e7dbb08 (diff)
downloadwekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.tar.gz
wekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.tar.bz2
wekan-46747b01fb3eb42901518a3fdb8a5f6d823465eb.zip
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
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebar.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 15a4ce44..e414c1f9 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -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,