From 63787ef9e370f3c4631b4c796163436b29dfa1c2 Mon Sep 17 00:00:00 2001 From: Miguel Camba Date: Thu, 28 Nov 2024 18:21:35 +0100 Subject: [PATCH] Fix mistake appending to list --- .../live_admin/components/visual_editor/opacity_control.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/beacon/live_admin/components/visual_editor/opacity_control.ex b/lib/beacon/live_admin/components/visual_editor/opacity_control.ex index e6c9429d..9fbbb598 100644 --- a/lib/beacon/live_admin/components/visual_editor/opacity_control.ex +++ b/lib/beacon/live_admin/components/visual_editor/opacity_control.ex @@ -61,7 +61,7 @@ require Logger classes |> String.split(" ", trim: true) |> Enum.reject(fn s -> String.starts_with?(s, "opacity-") end) - Enum.join(other_classes ++ "opacity-#{opacity}", " ") + Enum.join(other_classes ++ ["opacity-#{opacity}"], " ") end defp assign_form(socket, value) do