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. |
||
|---|---|---|
| .. | ||
| edit.ex | ||
| edit.html.heex | ||
| helpers.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
| show.html.heex | ||