@@ -389,61 +389,24 @@ export default class MessageContextMenu extends React.Component {
389389 ) ;
390390 }
391391
392- if ( forwardButton || quoteButton || collapseReplyThread ) {
393- optionLists . push ( (
394- < IconizedContextMenuOptionList key = { 'group1' } >
395- { quoteButton }
396- { forwardButton }
397- { collapseReplyThread }
398- </ IconizedContextMenuOptionList >
399- ) ) ;
400- }
401-
402- if ( resendReactionsButton ) {
403- optionLists . push ( (
404- < IconizedContextMenuOptionList key = { 'group2' } >
405- { resendReactionsButton }
406- </ IconizedContextMenuOptionList >
407- ) ) ;
408- }
409-
410- if ( externalURLButton || permalinkButton ) {
411- optionLists . push ( (
412- < IconizedContextMenuOptionList key = { 'group3' } >
413- { externalURLButton }
414- { permalinkButton }
415- </ IconizedContextMenuOptionList >
416- ) ) ;
417- }
418-
419- if ( reportEventButton ) {
420- optionLists . push ( (
421- < IconizedContextMenuOptionList key = { 'group4' } >
422- { reportEventButton }
423- </ IconizedContextMenuOptionList >
424- ) ) ;
425- }
426-
427- if ( viewSourceButton ) {
428- optionLists . push ( (
429- < IconizedContextMenuOptionList key = { 'group5' } >
430- { viewSourceButton }
431- </ IconizedContextMenuOptionList >
432- ) ) ;
433- }
434-
435- if ( pinButton || unhidePreviewButton ) {
436- optionLists . push ( (
437- < IconizedContextMenuOptionList key = { 'group6' } >
438- { pinButton }
439- { unhidePreviewButton }
440- </ IconizedContextMenuOptionList >
441- ) ) ;
442- }
392+ optionLists . push ( (
393+ < IconizedContextMenuOptionList key = { 'group1' } >
394+ { quoteButton }
395+ { forwardButton }
396+ { pinButton }
397+ { permalinkButton }
398+ { reportEventButton }
399+ { externalURLButton }
400+ { viewSourceButton }
401+ { unhidePreviewButton }
402+ { resendReactionsButton }
403+ { collapseReplyThread }
404+ </ IconizedContextMenuOptionList >
405+ ) ) ;
443406
444407 if ( redactButton ) {
445408 optionLists . push ( (
446- < IconizedContextMenuOptionList key = { 'group7 ' } red >
409+ < IconizedContextMenuOptionList key = { 'group2 ' } red >
447410 { redactButton }
448411 </ IconizedContextMenuOptionList >
449412 ) ) ;
0 commit comments