bruparel (70) [Avatar] Offline
#1
Template.plantDetails.onCreated(function () {
   this.status = new ReactiveVar();
   this.status.set(false);
});


Should it be?

Template.plantDetails.onCreated(function () {
   this.watered = new ReactiveVar();
   this.watered.set(false);
});


I am wondering where did 'status' come from here since the event handler and helper do not refer to it at all in the code.
stephan.hochhaus (92) [Avatar] Offline
#2
You are right, watered makes more sense. status is a relict from an earlier draft.