fix: show tip/speech links on videos
This commit is contained in:
parent
f9dcee5604
commit
8d09b03064
1 changed files with 15 additions and 16 deletions
|
@ -195,22 +195,21 @@ class FilePage extends React.Component<Props> {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{!claimIsMine ||
|
{(!claimIsMine || speechSharable) && (
|
||||||
(speechSharable && (
|
<div className="card__actions card__actions--end">
|
||||||
<div className="card__actions card__actions--end">
|
{!claimIsMine && (
|
||||||
{!claimIsMine && (
|
<Button
|
||||||
<Button
|
button="alt"
|
||||||
button="alt"
|
icon="Send"
|
||||||
icon="Send"
|
label={__('Enjoy this? Send a tip')}
|
||||||
label={__('Enjoy this? Send a tip')}
|
onClick={() => openModal({ id: MODALS.SEND_TIP }, { uri })}
|
||||||
onClick={() => openModal({ id: MODALS.SEND_TIP }, { uri })}
|
/>
|
||||||
/>
|
)}
|
||||||
)}
|
{speechSharable && (
|
||||||
{speechSharable && (
|
<ViewOnWebButton claimId={claim.claim_id} claimName={claim.name} />
|
||||||
<ViewOnWebButton claimId={claim.claim_id} claimName={claim.name} />
|
)}
|
||||||
)}
|
</div>
|
||||||
</div>
|
)}
|
||||||
))}
|
|
||||||
<FormRow alignRight>
|
<FormRow alignRight>
|
||||||
<FormField
|
<FormField
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|
Loading…
Reference in a new issue