From 062323c0d5459ffc3575e1fed33bda439ab630ce Mon Sep 17 00:00:00 2001 From: SyoBoN Date: Fri, 26 Jan 2024 17:43:43 +0900 Subject: Hide the expiry date indication if the poll never expires Signed-off-by: SyoBoN --- src/components/poll/poll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/poll/poll.js') diff --git a/src/components/poll/poll.js b/src/components/poll/poll.js index f6001f56..9ce0e29e 100644 --- a/src/components/poll/poll.js +++ b/src/components/poll/poll.js @@ -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 -- cgit v1.2.3-70-g09d2