We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99395eb commit 9edb92fCopy full SHA for 9edb92f
web/src/components/PromiseForm.vue
@@ -58,18 +58,13 @@ export default {
58
array_values[form_key] = form_values
59
}
60
try {
61
- await Promise.all([
62
- this.action({
63
- ...values,
64
- form_data,
65
- values,
66
- array_values,
67
- event,
68
- }),
69
- // force delay when the network response is quick, because overly fast button responses are confusing
70
- // FIXME: main log delayed by this
71
- new Promise((ok) => setTimeout(ok, 150)),
72
- ])
+ await this.action({
+ ...values,
+ form_data,
+ values,
+ array_values,
+ event,
+ })
73
this.$emit('success')
74
} catch (e) {
75
if (! (e instanceof Error))
0 commit comments