fix undefined

This commit is contained in:
Pete Matsyburka committed 2026-01-27 20:13:26 +02:00
1 parent 1e5f55c1d6
commit 5081e387d0
3 files changed
+19 -4

No files matched your search

+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) {