aboutsummaryrefslogtreecommitdiff
path: root/src/client/Main.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Main.elm')
-rw-r--r--src/client/Main.elm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/Main.elm b/src/client/Main.elm
index de98809..4f96675 100644
--- a/src/client/Main.elm
+++ b/src/client/Main.elm
@@ -17,6 +17,7 @@ import Model.User exposing (Users, usersDecoder, UserId, userIdDecoder)
import Model.Payment exposing (Payments, paymentsDecoder, perPage)
import Model.Payer exposing (Payers, payersDecoder)
import Model.Translations exposing (..)
+import Model.Config exposing (..)
import Update exposing (Action(..), actions, updateModel)
import Update.SignIn exposing (..)
@@ -29,7 +30,7 @@ main : Signal Html
main = Signal.map renderPage model
model : Signal Model
-model = Signal.foldp updateModel (initialModel initialTime translations) update
+model = Signal.foldp updateModel (initialModel initialTime translations config) update
update : Signal Action
update = Signal.mergeMany
@@ -51,6 +52,10 @@ port translations : String
---------------------------------------
+port config : String
+
+---------------------------------------
+
port initView : Task Http.Error ()
port initView =
case signInError of