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

This commit is contained in:
MikeyPants
2025-04-19 16:05:43 +03:00
committed by GitHub
parent 5c1f198397
commit 59e18b3104
11 changed files with 17 additions and 17 deletions

View File

@@ -205,7 +205,7 @@ async function updateVenmo() {
data.$notify({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}

View File

@@ -158,7 +158,7 @@ async function cancelPayout(id) {
data.$notify({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}

View File

@@ -369,7 +369,7 @@ async function withdraw() {
data.$notify({
group: "main",
title: "An error occurred",
text: err.data.description,
text: err.data ? err.data.description : err,
type: "error",
});
}