mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 11:57:58 +01:00
Fix enabled on embed
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
- Fix presenter layout with embeds when messages are hidden
|
- Fix presenter layout with embeds when messages are hidden
|
||||||
- Fix missing stream for form submits
|
- Fix missing stream for form submits
|
||||||
- Fix unknown locales
|
- Fix unknown locales
|
||||||
|
- Fix embeds when updated
|
||||||
- Add validation to avoid user to self assign as a facilitator
|
- Add validation to avoid user to self assign as a facilitator
|
||||||
- Toggle for message reactions is replaced with toggle for message and global reactions
|
- Toggle for message reactions is replaced with toggle for message and global reactions
|
||||||
- Improve embed integration in presenter view
|
- Improve embed integration in presenter view
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ defmodule ClaperWeb.EventLive.Presenter do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_info({:embed_updated, embed}, socket) do
|
def handle_info({:embed_updated, embed}, socket) do
|
||||||
if embed.active do
|
if embed.enabled do
|
||||||
{:noreply,
|
{:noreply,
|
||||||
socket
|
socket
|
||||||
|> update(:current_embed, fn _current_embed -> embed end)}
|
|> update(:current_embed, fn _current_embed -> embed end)}
|
||||||
|
|||||||
Reference in New Issue
Block a user