Skip to content

Commit

Permalink
Item edit: Fix wording of Item name alert
Browse files Browse the repository at this point in the history
Addresses #2126 (review).

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Dec 5, 2023
1 parent 617f70b commit 19c2457
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default {
if (this.currentTab === 'code') {
if (!this.fromYaml()) return Promise.reject()
}
if (!this.item.name) return this.$f7.dialog.alert('Please give Item a valid name').open() // user cannot change name
if (!this.item.name) return this.$f7.dialog.alert('Please give the Item a valid name').open() // user cannot change name
if (!this.item.type || !this.types.ItemTypes.includes(this.item.type.split(':')[0])) return this.$f7.dialog.alert('Please give Item a valid type').open()
this.doSave(this.item).then(() => {
Expand Down

0 comments on commit 19c2457

Please sign in to comment.