summaryrefslogtreecommitdiffstats
path: root/client/components/rules/rulesList.js
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-15 18:47:09 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-15 18:47:09 +0200
commit9b0eb0a9f1973e05df7199cf2bff7518f2fa98dc (patch)
treea8a8aac97c9c8103f30d9ec2cd0c4cb0c0fc2396 /client/components/rules/rulesList.js
parent93cc7f0232ee456aff07e456b9c4601264f47ab4 (diff)
downloadwekan-9b0eb0a9f1973e05df7199cf2bff7518f2fa98dc.tar.gz
wekan-9b0eb0a9f1973e05df7199cf2bff7518f2fa98dc.tar.bz2
wekan-9b0eb0a9f1973e05df7199cf2bff7518f2fa98dc.zip
Almost full circle
Diffstat (limited to 'client/components/rules/rulesList.js')
-rw-r--r--client/components/rules/rulesList.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/components/rules/rulesList.js b/client/components/rules/rulesList.js
new file mode 100644
index 00000000..caafe29f
--- /dev/null
+++ b/client/components/rules/rulesList.js
@@ -0,0 +1,12 @@
+BlazeComponent.extendComponent({
+ onCreated() {
+ this.subscribe('allRules');
+ },
+
+ rules() {
+ return Rules.find({});
+ },
+ events() {
+ return [{}];
+ },
+}).register('rulesList'); \ No newline at end of file