Created
March 27, 2016 11:00
-
-
Save dai-shi/08dda99733bb20c9cdce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx | |
| index 1500877..75714e5 100644 | |
| --- a/imports/ui/App.jsx | |
| +++ b/imports/ui/App.jsx | |
| @@ -87,5 +87,6 @@ App.propTypes = { | |
| export default createContainer(() => { | |
| return { | |
| tasks: Tasks.find({}, { sort: { createdAt: -1 } }).fetch(), | |
| + incompleteCount: Tasks.find({ checked: { $ne: true } }).count(), | |
| }; | |
| }, App); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment