Skip to content

Commit

Permalink
Fix some sonarcloud Javascript unused return issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cbosdo committed Sep 30, 2024
1 parent 241bcb4 commit 9f7f801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/html/src/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function showResponseErrorToastr(responseOrError: Error | JQueryXHR | JsonResult
if (hasMessages(responseOrError)) {
responseOrError.messages.flatMap((msg) => showErrorToastr(msg));
} else {
responseErrorMessage(responseOrError).map((msg) => showErrorToastr(msg.text));
responseErrorMessage(responseOrError).forEach((msg) => showErrorToastr(msg.text));
}
}

Expand Down

0 comments on commit 9f7f801

Please sign in to comment.