aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View/LoggedIn/Add.elm
diff options
context:
space:
mode:
authorJoris2016-01-01 13:00:51 +0100
committerJoris2016-01-01 13:00:51 +0100
commit5f3d75406ef36924616e3289342647f4939d5004 (patch)
treee19bfce420ef53ee93548f2e0ee1e248b7630e89 /src/client/elm/View/LoggedIn/Add.elm
parentb73ba24f3440b81698c9d5c370739d03f958f059 (diff)
downloadbudget-5f3d75406ef36924616e3289342647f4939d5004.tar.gz
budget-5f3d75406ef36924616e3289342647f4939d5004.tar.bz2
budget-5f3d75406ef36924616e3289342647f4939d5004.zip
Fix add and delete payment
Diffstat (limited to 'src/client/elm/View/LoggedIn/Add.elm')
-rw-r--r--src/client/elm/View/LoggedIn/Add.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/elm/View/LoggedIn/Add.elm b/src/client/elm/View/LoggedIn/Add.elm
index 572bdf6..2f580f9 100644
--- a/src/client/elm/View/LoggedIn/Add.elm
+++ b/src/client/elm/View/LoggedIn/Add.elm
@@ -32,7 +32,7 @@ addPayment model loggedInView =
(Ok name, Ok cost) ->
let action =
case loggedInView.add.frequency of
- Punctual -> SC.AddPayment loggedInView.account.me name cost
+ Punctual -> SC.AddPayment name cost
Monthly -> SC.AddMonthlyPayment name cost
in onSubmitPrevDefault serverCommunications.address action
(resName, resCost) ->