aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Dialog.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Dialog.elm')
-rw-r--r--src/client/elm/Dialog.elm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/elm/Dialog.elm b/src/client/elm/Dialog.elm
index 3b9e93b..a7e059a 100644
--- a/src/client/elm/Dialog.elm
+++ b/src/client/elm/Dialog.elm
@@ -65,8 +65,7 @@ update updateModel msg baseModel model =
UpdateAndClose msg ->
( { model | config = Nothing }
- , Task.succeed ()
- |> Task.perform (always msg) (always msg)
+ , Task.perform (always msg) (Task.succeed msg)
)
OpenWithUpdate config modelMsg ->