Update: author toasts, title and name required toasts

This commit is contained in:
Nicholas Wallace 2024-08-28 21:52:14 -07:00
parent 9f525309d9
commit bc2515f993
6 changed files with 23 additions and 15 deletions

View file

@ -156,7 +156,7 @@ export default {
},
validate() {
if (!this.libraryCopy.name) {
this.$toast.error('Library must have a name')
this.$toast.error(this.$strings.ToastNameRequired)
return false
}
if (!this.libraryCopy.folders.length) {
@ -264,4 +264,4 @@ export default {
.tab.tab-selected {
height: 41px;
}
</style>
</style>