Comment: Swap the order of "Edit" and "Remove"
This order is more common.
This commit is contained in:
parent
65d7e478ac
commit
0e391a3d78
1 changed files with 7 additions and 7 deletions
|
@ -185,6 +185,13 @@ function CommentMenuList(props: Props) {
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{commentIsMine && activeChannelClaim && activeChannelClaim.permanent_url === authorUri && !disableEdit && (
|
||||||
|
<MenuItem className="comment__menu-option menu__link" onSelect={handleEditComment}>
|
||||||
|
<Icon aria-hidden icon={ICONS.EDIT} />
|
||||||
|
{__('Edit')}
|
||||||
|
</MenuItem>
|
||||||
|
)}
|
||||||
|
|
||||||
{!disableRemove &&
|
{!disableRemove &&
|
||||||
activeChannelClaim &&
|
activeChannelClaim &&
|
||||||
(activeChannelClaim.permanent_url === authorUri ||
|
(activeChannelClaim.permanent_url === authorUri ||
|
||||||
|
@ -197,13 +204,6 @@ function CommentMenuList(props: Props) {
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{commentIsMine && activeChannelClaim && activeChannelClaim.permanent_url === authorUri && !disableEdit && (
|
|
||||||
<MenuItem className="comment__menu-option menu__link" onSelect={handleEditComment}>
|
|
||||||
<Icon aria-hidden icon={ICONS.EDIT} />
|
|
||||||
{__('Edit')}
|
|
||||||
</MenuItem>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{!commentIsMine && (
|
{!commentIsMine && (
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleCommentBlock}>
|
<MenuItem className="comment__menu-option" onSelect={handleCommentBlock}>
|
||||||
{getBlockOptionElem()}
|
{getBlockOptionElem()}
|
||||||
|
|
Loading…
Reference in a new issue