fix undefined

This commit is contained in:
Pete Matsyburka
2026-01-27 20:09:50 +02:00
parent 1e5f55c1d6
commit 5081e387d0
3 changed files with 19 additions and 4 deletions
+5 -1
View File
@@ -290,7 +290,11 @@ export default {
if (resp.ok) {
resp.json().then((data) => {
this.$emit('success', data)
this.$refs.input.value = ''
if (this.$refs.input) {
this.$refs.input.value = ''
}
this.isLoading = false
})
} else if (resp.status === 422) {