lint
This commit is contained in:
parent
60d75c1ec7
commit
4c295601c2
2 changed files with 4 additions and 6 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue