Add: title required string

This commit is contained in:
Nicholas Wallace 2024-08-28 20:45:45 -07:00
parent 01494fd4d8
commit 1d0b824181
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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