Skip to content
Snippets Groups Projects

Fix: problems with polls state

Merged Shpuld Shpludson requested to merge fix/not-all-polls-showing-up into develop
2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -35,7 +35,7 @@ export default {
return (this.poll && this.poll.expires_at) || 0
},
expired () {
return Date.now() > Date.parse(this.expiresAt)
return (this.poll && this.poll.expired) || false
},
loggedIn () {
return this.$store.state.users.currentUser
Loading