summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listBody.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-11-19 21:55:43 +0200
committerLauri Ojansivu <x@xet7.org>2019-11-19 21:55:43 +0200
commit115d23f9293cad8a93f18f75a47a8a65756f71ce (patch)
tree1f3bdb5a56ac08745eeba73bb3b0274098ad84d8 /client/components/lists/listBody.js
parent975258ef39787010d0ecb5d0f6b03ec3e0338e58 (diff)
downloadwekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.tar.gz
wekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.tar.bz2
wekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.zip
Use database when logged in. Continued.
Thanks to xet7 !
Diffstat (limited to 'client/components/lists/listBody.js')
-rw-r--r--client/components/lists/listBody.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 46d2794e..b0974705 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -713,13 +713,11 @@ BlazeComponent.extendComponent({
.data()._id;
}
}
- } else {
- if (Utils.boardView() === 'board-view-swimlanes') {
- this.swimlaneId = this.parentComponent()
- .parentComponent()
- .parentComponent()
- .data()._id;
- }
+ } else if (Utils.boardView() === 'board-view-swimlanes') {
+ this.swimlaneId = this.parentComponent()
+ .parentComponent()
+ .parentComponent()
+ .data()._id;
}
},