aboutsummaryrefslogtreecommitdiff
path: root/src/client/Update.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Update.elm')
-rw-r--r--src/client/Update.elm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/Update.elm b/src/client/Update.elm
index 6eedb7f..b96d899 100644
--- a/src/client/Update.elm
+++ b/src/client/Update.elm
@@ -9,6 +9,7 @@ import Model.Payment exposing (Payments)
type Action =
NoOp
+ | Forbidden
| UpdatePayments Payments
actions : Signal.Mailbox Action
@@ -19,5 +20,7 @@ updateModel action model =
case action of
NoOp ->
model
+ Forbidden ->
+ { model | forbiddenAccess <- True }
UpdatePayments payments ->
- { model | payments <- payments }
+ { model | payments <- Just payments }