-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not show error on messages from Forwarder in show single message p…
…age (#12485) (#13386) * Extract checking for local node from hook * Refactor useMessage effect with async function This will make the code a bit easier to read when changing logic to check local node. * Only load local inputs on show message page On the show single message page, use `isLocalNode` function to decide whether the message was received in a local node directly or through a Forwarder. This way we can avoid failures when trying to fetch an input from a local node, that actually belongs to a Forwarder. Fixes https://github.com/Graylog2/graylog-plugin-enterprise/issues/3472 Co-authored-by: Edmundo Alvarez <edmundo@graylog.com>
- Loading branch information
Showing
3 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters