[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); resolve(response.output);
} else { } else {
const error = response.errors?.[0] || response const error = response.errors?.[0] || response
if (showError) {
this.notify({ this.notify({
text: error, text: error,
error: true, error: true,
}) })
}
reject(error) reject(error)
} }