Fix selecting a single value from multiselect
Used when moving a task to other lists among other things
This commit is contained in:
parent
83b530b8ba
commit
ac9c854b24
1 changed files with 0 additions and 3 deletions
|
@ -282,9 +282,6 @@ export default {
|
||||||
this.closeSearchResults()
|
this.closeSearchResults()
|
||||||
},
|
},
|
||||||
setSelectedObject(object, resetOnly = false) {
|
setSelectedObject(object, resetOnly = false) {
|
||||||
if (!Array.isArray(object)) {
|
|
||||||
object = [object]
|
|
||||||
}
|
|
||||||
this.$set(this, 'internalValue', object)
|
this.$set(this, 'internalValue', object)
|
||||||
|
|
||||||
// We assume we're getting an array when multiple is enabled and can therefore leave the query
|
// We assume we're getting an array when multiple is enabled and can therefore leave the query
|
||||||
|
|
Loading…
Reference in a new issue