mirror of https://github.com/vector-im/riot-web
				
				
				
			reorder message context menu items
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>pull/21833/head
							parent
							
								
									c2d51a115b
								
							
						
					
					
						commit
						9a1be63baa
					
				| 
						 | 
				
			
			@ -389,61 +389,24 @@ export default class MessageContextMenu extends React.Component {
 | 
			
		|||
            );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (forwardButton || quoteButton || collapseReplyThread) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group1'}>
 | 
			
		||||
                    {quoteButton}
 | 
			
		||||
                    {forwardButton}
 | 
			
		||||
                    {collapseReplyThread}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (resendReactionsButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group2'}>
 | 
			
		||||
                    {resendReactionsButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (externalURLButton || permalinkButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group3'}>
 | 
			
		||||
                    {externalURLButton}
 | 
			
		||||
                    {permalinkButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (reportEventButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group4'}>
 | 
			
		||||
                    {reportEventButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (viewSourceButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group5'}>
 | 
			
		||||
                    {viewSourceButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (pinButton || unhidePreviewButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group6'}>
 | 
			
		||||
                    {pinButton}
 | 
			
		||||
                    {unhidePreviewButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
        }
 | 
			
		||||
        optionLists.push((
 | 
			
		||||
            <IconizedContextMenuOptionList key={'group1'}>
 | 
			
		||||
                {quoteButton}
 | 
			
		||||
                {forwardButton}
 | 
			
		||||
                {pinButton}
 | 
			
		||||
                {permalinkButton}
 | 
			
		||||
                {reportEventButton}
 | 
			
		||||
                {externalURLButton}
 | 
			
		||||
                {viewSourceButton}
 | 
			
		||||
                {unhidePreviewButton}
 | 
			
		||||
                {resendReactionsButton}
 | 
			
		||||
                {collapseReplyThread}
 | 
			
		||||
            </IconizedContextMenuOptionList>
 | 
			
		||||
        ));
 | 
			
		||||
 | 
			
		||||
        if (redactButton) {
 | 
			
		||||
            optionLists.push((
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group7'} red>
 | 
			
		||||
                <IconizedContextMenuOptionList key={'group2'} red>
 | 
			
		||||
                    {redactButton}
 | 
			
		||||
                </IconizedContextMenuOptionList>
 | 
			
		||||
            ));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2252,7 +2252,7 @@
 | 
			
		|||
    "Sending": "Sending",
 | 
			
		||||
    "Sent": "Sent",
 | 
			
		||||
    "Open link": "Open link",
 | 
			
		||||
    "Forward message": "Forward message",
 | 
			
		||||
    "Forward": "Forward",
 | 
			
		||||
    "Message preview": "Message preview",
 | 
			
		||||
    "Search for rooms or people": "Search for rooms or people",
 | 
			
		||||
    "Confirm abort of host creation": "Confirm abort of host creation",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue