fix(apps/frontend): error data can be undefined (#3513)

This commit is contained in:
MikeyPants authored and GitHub committed 2025-04-19 13:05:43 +00:00
1 parent 5c1f198397
commit 59e18b3104
11 files changed
+17 -17

No files matched your search

@@ -183,7 +183,7 @@ async function createProject() {
app.$notify({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}
@@ -430,7 +430,7 @@ async function performAction(notification, actionIndex) {
app.$notify({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}
@@ -106,7 +106,7 @@ async function createOrganization() {
addNotification({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}