From 4c295601c21e3eec655c8f19c037316d3e02091a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 5 Aug 2026 17:02:04 +0300 Subject: [PATCH] lint --- src/components/poll/poll_form.js | 6 +++--- src/components/post_status_form/post_status_form.js | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/poll/poll_form.js b/src/components/poll/poll_form.js index 657e75b44..a9c915127 100644 --- a/src/components/poll/poll_form.js +++ b/src/components/poll/poll_form.js @@ -116,7 +116,7 @@ export default { if (this.options.length < this.maxOptions) { this.$emit('update:modelValue', { ...this.modelValue, - options: [...this.options, ''] + options: [...this.options, ''], }) return true @@ -130,7 +130,7 @@ export default { this.$emit('update:modelValue', { ...this.modelValue, - options + options, }) } }, @@ -140,7 +140,7 @@ export default { this.$emit('update:modelValue', { ...this.modelValue, - options + options, }) }, convertExpiryToUnit(unit, amount) { diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 7ef59af3f..f36987efb 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -509,9 +509,7 @@ const PostStatusForm = { // Error handling pollContentError() { - return ( - this.pollFormVisible && this.newStatus.poll?.error - ) + return this.pollFormVisible && this.newStatus.poll?.error }, // Featureset detection