aboutsummaryrefslogtreecommitdiff
path: root/src/client/View/LoggedIn/Table.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/View/LoggedIn/Table.elm')
-rw-r--r--src/client/View/LoggedIn/Table.elm7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/View/LoggedIn/Table.elm b/src/client/View/LoggedIn/Table.elm
index 6342369..a8fef3e 100644
--- a/src/client/View/LoggedIn/Table.elm
+++ b/src/client/View/LoggedIn/Table.elm
@@ -77,10 +77,11 @@ paymentLine model loggedInView payment =
, if loggedInView.me == payment.userId
then
div
- [ class "cell delete"
- , onClick serverCommunications.address (SC.DeletePayment payment.id payment.userId payment.cost loggedInView.currentPage)
+ [ class "cell delete" ]
+ [ button
+ [ onClick serverCommunications.address (SC.DeletePayment payment.id payment.userId payment.cost loggedInView.currentPage) ]
+ [ renderIcon "times" ]
]
- [ renderIcon "times" ]
else
div [ class "cell" ] []
]