Fixed author or publisher not selectable when in another language than english
This commit is contained in:
parent
d36ecb0ada
commit
6ab5cf5837
|
@ -33,7 +33,7 @@
|
|||
<multiselect
|
||||
v-model="book.PublisherFull"
|
||||
track-by="ID"
|
||||
:label="langGeneral.name"
|
||||
label="Name"
|
||||
:placeholder="langGeneral.selectOne"
|
||||
:options="publishers"
|
||||
:searchable="true"
|
||||
|
@ -52,7 +52,7 @@
|
|||
<multiselect
|
||||
v-model="book.Authors"
|
||||
track-by="ID"
|
||||
:label="langGeneral.name"
|
||||
label="Name"
|
||||
:placeholder="langGeneral.selectOneOrMore"
|
||||
:options="authors"
|
||||
:searchable="true"
|
||||
|
@ -281,6 +281,9 @@
|
|||
title: this.translate('general').success,
|
||||
text: this.translate('books').updatedSuccess
|
||||
})
|
||||
|
||||
// Redirect to books list
|
||||
router.push({ name: 'books' })
|
||||
})
|
||||
.catch(e => {
|
||||
this.loading = false
|
||||
|
@ -296,15 +299,15 @@
|
|||
title: this.translate('general').success,
|
||||
text: this.translate('books').insertedSuccess
|
||||
})
|
||||
|
||||
// Redirect to books list
|
||||
router.push({ name: 'books' })
|
||||
})
|
||||
.catch(e => {
|
||||
this.loading = false
|
||||
this.errorNotification(e)
|
||||
})
|
||||
}
|
||||
|
||||
// Redirect to books list
|
||||
router.push({ name: 'books' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue