cleanup and TODO

This commit is contained in:
2017-02-22 17:22:07 -07:00
parent 87e02e52ce
commit b1ae02faee
3 changed files with 1 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ export default {
getters: {
shouldUpdate: state => (seconds = 30) => {
const diffTime = (new Date().getTime()) - state.updatedAt;
console.log('shouldUpdate', diffTime >= seconds * 1000)
return diffTime >= seconds * 1000;
},
},