Hide the expiry date indication if the poll never expires
Signed-off-by: SyoBoN <syobon@syobon.net>
This commit is contained in:
parent
9042792133
commit
062323c0d5
2 changed files with 7 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ export default {
|
|||
return (this.poll && this.poll.options) || []
|
||||
},
|
||||
expiresAt () {
|
||||
return (this.poll && this.poll.expires_at) || 0
|
||||
return (this.poll && this.poll.expires_at) || null
|
||||
},
|
||||
expired () {
|
||||
return (this.poll && this.poll.expired) || false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue