fix: show tip/speech links on videos

This commit is contained in:
Sean Yesmunt 2018-06-15 13:06:40 -04:00
parent f9dcee5604
commit 8d09b03064

View file

@ -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"