From 9759a9258a263159e12b83e96c2a3bf898e5886c Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 9 Apr 2022 20:36:38 +0200 Subject: [PATCH] Hide delete button on new notification channels --- modules/webapp/src/main/elm/Comp/NotificationChannelManage.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webapp/src/main/elm/Comp/NotificationChannelManage.elm b/modules/webapp/src/main/elm/Comp/NotificationChannelManage.elm index dd302da6..7c26255d 100644 --- a/modules/webapp/src/main/elm/Comp/NotificationChannelManage.elm +++ b/modules/webapp/src/main/elm/Comp/NotificationChannelManage.elm @@ -302,7 +302,7 @@ viewForm texts settings outerModel model = |> Maybe.map .id newChannel = - channelId |> (==) (Just "") + channelId == Just "" || channelId == Nothing headline = case Comp.ChannelForm.channelType model of