diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-11-05 23:26:07 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-11-05 23:26:07 +0200 |
commit | ebdb3a0cc3b10e804b30635b5a19dcfbf4a3eadc (patch) | |
tree | d12c21c3fc375f4e48fc71a8f7395039133cc399 | |
parent | 473af2f5e292c8cf91bfbd8cfcf743e7bc89ebbe (diff) | |
download | wekan-ebdb3a0cc3b10e804b30635b5a19dcfbf4a3eadc.tar.gz wekan-ebdb3a0cc3b10e804b30635b5a19dcfbf4a3eadc.tar.bz2 wekan-ebdb3a0cc3b10e804b30635b5a19dcfbf4a3eadc.zip |
Fix prettier.
-rw-r--r-- | client/components/cards/cardDetails.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 2944b56c..ad500657 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -129,13 +129,13 @@ BlazeComponent.extendComponent({ user: Meteor.user().username, url: '', }; - - const integrations = Integrations.find({ - boardId: { $in: [card.boardId, Integrations.Const.GLOBAL_WEBHOOK_ID] }, + + const integrations = Integrations.find({ + boardId: { $in: [card.boardId, Integrations.Const.GLOBAL_WEBHOOK_ID] }, enabled: true, activities: { $in: ['CardDetailsRendered', 'all'] }, }).fetch(); - + if (integrations.length > 0) { integrations.forEach(integration => { Meteor.call( |