summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-02-01 12:43:44 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-02-01 14:24:21 -0300
commit42bc905c16d1c01cbf24f773d2d5224ccdbeba78 (patch)
tree0a3f654fe212647211beb07502b9970829ce59f8 /client
parentd94f11c7786a48112bd9b024ef7794091b74bb40 (diff)
downloadwekan-42bc905c16d1c01cbf24f773d2d5224ccdbeba78.tar.gz
wekan-42bc905c16d1c01cbf24f773d2d5224ccdbeba78.tar.bz2
wekan-42bc905c16d1c01cbf24f773d2d5224ccdbeba78.zip
Remove unused hack
Diffstat (limited to 'client')
-rw-r--r--client/components/lists/list.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index ce18ce14..e922a3fd 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -18,9 +18,7 @@ BlazeComponent.extendComponent({
// callback, we basically solve all issues related to reactive updates. A
// comment below provides further details.
onRendered() {
- let boardComponent = this.parentComponent().parentComponent();
- if (!boardComponent)
- boardComponent = this.parentComponent();
+ const boardComponent = this.parentComponent().parentComponent();
const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)';
const $cards = this.$('.js-minicards');
$cards.sortable({