misc: stop loading icon if post fails
This commit is contained in:
1 parent
5d5fb64d90
commit
5c85ff292f
1 file changed
+2
@@ -142,6 +142,8 @@
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast({ content: err as any, type: 'error' })
|
toast({ content: err as any, type: 'error' })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
data.loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
let uploadingImage = false
|
let uploadingImage = false
|
||||||
|
|||||||
Reference in new issue
Block a user