fix more logic for tests (cherry-picked from 83acb028c7)

This commit is contained in:
2025-05-31 16:20:41 -06:00
parent 8c42166d36
commit 4327a5175c
5 changed files with 19 additions and 19 deletions

View File

@@ -703,7 +703,7 @@ export default class OfferDetailsView extends Vue {
);
}
if (result.type === "error" || this.isCreationError(result.response)) {
if (!result.success) {
const errorMessage = this.getCreationErrorMessage(result);
logger.error("Error with offer creation result:", result);
this.$notify(