misc: only disable loading when error occurs
This commit is contained in:
1 parent
5c85ff292f
commit
8e4a875898
1 file changed
+1
-2
@@ -141,9 +141,8 @@
|
|||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast({ content: err as any, type: 'error' })
|
toast({ content: err as any, type: 'error' })
|
||||||
|
data.loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
data.loading = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let uploadingImage = false
|
let uploadingImage = false
|
||||||
|
|||||||
Reference in new issue
Block a user