diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-11-19 21:55:43 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-11-19 21:55:43 +0200 |
commit | 115d23f9293cad8a93f18f75a47a8a65756f71ce (patch) | |
tree | 1f3bdb5a56ac08745eeba73bb3b0274098ad84d8 /client/components/lists/listBody.js | |
parent | 975258ef39787010d0ecb5d0f6b03ec3e0338e58 (diff) | |
download | wekan-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.js | 12 |
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; } }, |