The StatusTitleComponent (rendered in authenticated layout) subscribes to organization:*:alerts PubSub topic. Since LiveComponents run in the parent process, both the component and parent LiveView receive these messages. Added catch-all handler to prevent FunctionClauseError when alert changes broadcast. The component already handles the message properly. |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| graphql | ||
| helpers | ||
| live | ||
| plugs | ||
| changelog_parser.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| router.ex | ||
| telemetry.ex | ||
| telemetry_filter.ex | ||
| user_auth.ex | ||