summaryrefslogtreecommitdiffstats
path: root/client/components/settings/settingBody.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-09-04 21:11:41 +0300
committerGitHub <noreply@github.com>2019-09-04 21:11:41 +0300
commitbfbe32e1ec945e883a5d0dbf52c5554d8908d995 (patch)
tree5a938aed02c398b6b11a60505a3c85746ed54441 /client/components/settings/settingBody.js
parentccfaf879dd4ea0c24d2fed34131be5ad151bb28c (diff)
parent510407467c5245f13fb9508b6e95f6b490dcd36b (diff)
downloadwekan-bfbe32e1ec945e883a5d0dbf52c5554d8908d995.tar.gz
wekan-bfbe32e1ec945e883a5d0dbf52c5554d8908d995.tar.bz2
wekan-bfbe32e1ec945e883a5d0dbf52c5554d8908d995.zip
Merge pull request #2665 from whowillcare/master
Add Feature: complete the original author's webhook functions and add two-way webhook type
Diffstat (limited to 'client/components/settings/settingBody.js')
-rw-r--r--client/components/settings/settingBody.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js
index f9b5c08d..4ff5aedd 100644
--- a/client/components/settings/settingBody.js
+++ b/client/components/settings/settingBody.js
@@ -7,11 +7,13 @@ BlazeComponent.extendComponent({
this.accountSetting = new ReactiveVar(false);
this.announcementSetting = new ReactiveVar(false);
this.layoutSetting = new ReactiveVar(false);
+ this.webhookSetting = new ReactiveVar(false);
Meteor.subscribe('setting');
Meteor.subscribe('mailServer');
Meteor.subscribe('accountSettings');
Meteor.subscribe('announcements');
+ Meteor.subscribe('globalwebhooks');
},
setError(error) {
@@ -83,6 +85,7 @@ BlazeComponent.extendComponent({
this.accountSetting.set('account-setting' === targetID);
this.announcementSetting.set('announcement-setting' === targetID);
this.layoutSetting.set('layout-setting' === targetID);
+ this.webhookSetting.set('webhook-setting' === targetID);
}
},