This commit is contained in:
Henry Jameson 2026-08-05 17:02:04 +03:00
commit 4c295601c2
2 changed files with 4 additions and 6 deletions

View file

@ -116,7 +116,7 @@ export default {
if (this.options.length < this.maxOptions) { if (this.options.length < this.maxOptions) {
this.$emit('update:modelValue', { this.$emit('update:modelValue', {
...this.modelValue, ...this.modelValue,
options: [...this.options, ''] options: [...this.options, ''],
}) })
return true return true
@ -130,7 +130,7 @@ export default {
this.$emit('update:modelValue', { this.$emit('update:modelValue', {
...this.modelValue, ...this.modelValue,
options options,
}) })
} }
}, },
@ -140,7 +140,7 @@ export default {
this.$emit('update:modelValue', { this.$emit('update:modelValue', {
...this.modelValue, ...this.modelValue,
options options,
}) })
}, },
convertExpiryToUnit(unit, amount) { convertExpiryToUnit(unit, amount) {

View file

@ -509,9 +509,7 @@ const PostStatusForm = {
// Error handling // Error handling
pollContentError() { pollContentError() {
return ( return this.pollFormVisible && this.newStatus.poll?.error
this.pollFormVisible && this.newStatus.poll?.error
)
}, },
// Featureset detection // Featureset detection