mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 20:01:38 +00:00
Add: title required string
This commit is contained in:
parent
01494fd4d8
commit
1d0b824181
3 changed files with 5 additions and 5 deletions
|
|
@ -92,7 +92,7 @@ export default {
|
|||
|
||||
var { title, author } = this.$refs.itemDetailsEdit.getTitleAndAuthorName()
|
||||
if (!title) {
|
||||
this.$toast.error(this.$strings.ToastItemQuickMatchTitleRequired)
|
||||
this.$toast.error(this.$strings.ToastTitleRequired)
|
||||
return
|
||||
}
|
||||
this.quickMatching = true
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ export default {
|
|||
},
|
||||
submitForm() {
|
||||
if (!this.episodeTitle || !this.episodeTitle.length) {
|
||||
this.$toast.error('Must enter an episode title')
|
||||
this.$toast.error(this.$strings.ToastTitleRequired)
|
||||
return
|
||||
}
|
||||
this.searchedTitle = this.episodeTitle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue