summaryrefslogtreecommitdiffstats
path: root/client/components/lists/body.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/lists/body.js')
-rw-r--r--client/components/lists/body.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/components/lists/body.js b/client/components/lists/body.js
index 1cbcf8f2..70db42d1 100644
--- a/client/components/lists/body.js
+++ b/client/components/lists/body.js
@@ -58,6 +58,14 @@ BlazeComponent.extendComponent({
}
},
+ showNewCardForm: function(value) {
+ this.newCardFormIsVisible.set(value);
+ },
+
+ onCreated: function() {
+ this.newCardFormIsVisible = new ReactiveVar(true);
+ },
+
events: function() {
return [{
submit: this.addCard