diff options
author | Joris | 2016-01-03 00:19:55 +0100 |
---|---|---|
committer | Joris | 2016-01-03 00:28:41 +0100 |
commit | 0cba27cba2b44756389d50bc113f23a2be87e978 (patch) | |
tree | cc13e5ba32e3e2ec8bad284828a06d5daedec4f7 /src/client/elm/Update/LoggedIn/AddPayment.elm | |
parent | fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b (diff) |
Prevent to send multiple payments if the server is not answering
Diffstat (limited to 'src/client/elm/Update/LoggedIn/AddPayment.elm')
-rw-r--r-- | src/client/elm/Update/LoggedIn/AddPayment.elm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/elm/Update/LoggedIn/AddPayment.elm b/src/client/elm/Update/LoggedIn/AddPayment.elm index 978980d..3eb2ea4 100644 --- a/src/client/elm/Update/LoggedIn/AddPayment.elm +++ b/src/client/elm/Update/LoggedIn/AddPayment.elm @@ -22,3 +22,5 @@ updateAddPayment action addPayment = { addPayment | frequency = if addPayment.frequency == Punctual then Monthly else Punctual } + WaitingServer -> + { addPayment | waitingServer = True } |