[UI] Added extra showError condition on /execute.

This commit is contained in:
Fabio Manganiello 2024-07-21 17:12:37 +02:00
parent c1b1bd6c50
commit 8329de15ba
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -27,10 +27,13 @@ export default {
resolve(response.output);
} else {
const error = response.errors?.[0] || response
if (showError) {
this.notify({
text: error,
error: true,
})
}
reject(error)
}