Fix missing navigate on Edit mobile menu button for own claims
This commit is contained in:
parent
aaf36e88dd
commit
2a7b9364e4
1 changed files with 7 additions and 1 deletions
|
@ -196,7 +196,13 @@ export default function FileActions(props: Props) {
|
||||||
|
|
||||||
{claimIsMine && (
|
{claimIsMine && (
|
||||||
<>
|
<>
|
||||||
<MenuItem className="comment__menu-option" onSelect={() => doEditForChannel(claim, editUri)}>
|
<MenuItem
|
||||||
|
className="comment__menu-option"
|
||||||
|
onSelect={() => {
|
||||||
|
doEditForChannel(claim, editUri);
|
||||||
|
push(`/$/${PAGES.UPLOAD}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
<div className="menu__link">
|
<div className="menu__link">
|
||||||
<Icon aria-hidden icon={ICONS.EDIT} />
|
<Icon aria-hidden icon={ICONS.EDIT} />
|
||||||
{isLivestreamClaim ? __('Update or Publish Replay') : __('Edit')}
|
{isLivestreamClaim ? __('Update or Publish Replay') : __('Edit')}
|
||||||
|
|
Loading…
Reference in a new issue