Hide delete button on new notification channels

This commit is contained in:
eikek 2022-04-09 20:36:38 +02:00
parent b4ee1a52e1
commit 9759a9258a

View File

@ -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