Fix initial loading notify form

This commit is contained in:
Eike Kettner
2020-04-21 08:12:41 +02:00
parent 93182c040e
commit 2042824ab4
5 changed files with 74 additions and 46 deletions

View File

@ -39,4 +39,3 @@ type Msg
| ChangePassMsg Comp.ChangePasswordForm.Msg
| EmailSettingsMsg Comp.EmailSettingsManage.Msg
| NotificationMsg Comp.NotificationForm.Msg
| Init

View File

@ -10,14 +10,6 @@ import Page.UserSettings.Data exposing (..)
update : Flags -> Msg -> Model -> ( Model, Cmd Msg )
update flags msg model =
case msg of
Init ->
let
cmd =
Cmd.map NotificationMsg
(Tuple.second (Comp.NotificationForm.init flags))
in
( model, cmd )
SetTab t ->
let
m =