Simplify notification
This commit is contained in:
parent
d507eb487a
commit
fbf9b69a6b
|
@ -51,11 +51,7 @@
|
||||||
notifications.error("Error exporting the app.")
|
notifications.error("Error exporting the app.")
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
let message = "Error downloading the exported app"
|
notifications.error(error.message ?? "Error downloading the exported app")
|
||||||
if (error.message) {
|
|
||||||
message += `: ${error.message}`
|
|
||||||
}
|
|
||||||
notifications.error("Error downloading the exported app", message)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue