Skip to content

Commit fd31b24

Browse files
committed
fix: show charge authorization flow only on marketplace contracts
1 parent c66feca commit fd31b24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/algora_web/live/contract_live.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,10 @@ defmodule AlgoraWeb.ContractLive do
375375
</div>
376376
</.card_content>
377377
</.card>
378-
<.card :if={length(@transactions) == 0 and @can_create_bounty}>
378+
<.card :if={
379+
length(@transactions) == 0 and @can_create_bounty and
380+
@bounty.contract_type == :marketplace
381+
}>
379382
<.card_header>
380383
<.card_title>
381384
Finalize offer

0 commit comments

Comments
 (0)