mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix initial loading notify form
This commit is contained in:
@ -39,4 +39,3 @@ type Msg
|
||||
| ChangePassMsg Comp.ChangePasswordForm.Msg
|
||||
| EmailSettingsMsg Comp.EmailSettingsManage.Msg
|
||||
| NotificationMsg Comp.NotificationForm.Msg
|
||||
| Init
|
||||
|
@ -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 =
|
||||
|
Reference in New Issue
Block a user