From ebdb3a0cc3b10e804b30635b5a19dcfbf4a3eadc Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 5 Nov 2019 23:26:07 +0200 Subject: Fix prettier. --- client/components/cards/cardDetails.js | 8 ++++---- 1 file 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( -- cgit v1.2.3-1-g7c22