Skip to content

Commit dee45b8

Browse files
committed
update assign_transactions
1 parent 7bd89b8 commit dee45b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/algora_web/live/contract_live.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,9 +1078,7 @@ defmodule AlgoraWeb.ContractLive do
10781078
(tx.type == :debit and tx.status in [:succeeded, :requires_release])
10791079

10801080
socket.assigns.current_user.id == socket.assigns.contractor.id ->
1081-
tx.type == :charge or
1082-
(tx.type == :debit and tx.status == :requires_release) or
1083-
(tx.type == :credit and tx.status == :succeeded)
1081+
tx.type == :credit and tx.status == :succeeded
10841082

10851083
true ->
10861084
false

0 commit comments

Comments
 (0)