|
@@ -5,6 +5,12 @@ App = React.createClass({
|
|
// This mixin makes the getMeteorData work.
|
|
// This mixin makes the getMeteorData work.
|
|
mixins: [ReactMeteorData],
|
|
mixins: [ReactMeteorData],
|
|
|
|
|
|
|
|
+ getInitialState() {
|
|
|
|
+ return {
|
|
|
|
+ hideCompleted: false
|
|
|
|
+ };
|
|
|
|
+ },
|
|
|
|
+
|
|
// Loads items from the Tasks collection and puts them on this.data.tasks.
|
|
// Loads items from the Tasks collection and puts them on this.data.tasks.
|
|
getMeteorData() {
|
|
getMeteorData() {
|
|
let result = {
|
|
let result = {
|