aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Model.elm')
-rw-r--r--src/client/elm/Model.elm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/elm/Model.elm b/src/client/elm/Model.elm
index aa4b314..a1d2bff 100644
--- a/src/client/elm/Model.elm
+++ b/src/client/elm/Model.elm
@@ -33,6 +33,7 @@ type alias Model =
, translations : Translations
, conf : Conf
, page : Page
+ , errors : List String
, dialog : Dialog.Model DialogModel.Model DialogMsg.Msg Msg
, tooltip : Tooltip.Model
}
@@ -58,6 +59,7 @@ init payload result =
, translations = translations
, conf = conf
, page = page
+ , errors = []
, dialog = Dialog.init DialogModel.init Msg.Dialog
, tooltip = Tooltip.init windowSize.width windowSize.height
}
@@ -67,6 +69,7 @@ init payload result =
, translations = []
, conf = { currency = "" }
, page = page
+ , errors = [ error ]
, dialog = Dialog.init DialogModel.init Msg.Dialog
, tooltip = Tooltip.init 0 0
}