mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix lint errors in contextMenu
This commit is contained in:
		@@ -103,14 +103,14 @@ RED.contextMenu = (function() {
 | 
			
		||||
            { onselect: 'core:paste-from-internal-clipboard', label: RED._("keyboard.pasteNode"), disabled: !RED.view.clipboard() },
 | 
			
		||||
            { onselect: 'core:delete-selection', disabled: !canDelete },
 | 
			
		||||
            { onselect: 'core:show-export-dialog', label: RED._("menu.label.export") },
 | 
			
		||||
            { onselect: 'core:select-all-nodes' },
 | 
			
		||||
            { onselect: 'core:select-all-nodes' }
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        if (hasSelection) {
 | 
			
		||||
            menuItems.push(
 | 
			
		||||
                null,
 | 
			
		||||
                isGroup
 | 
			
		||||
                ? { onselect: 'core:ungroup-selection', disabled: !isGroup }
 | 
			
		||||
                isGroup ?
 | 
			
		||||
                  { onselect: 'core:ungroup-selection', disabled: !isGroup }
 | 
			
		||||
                : { onselect: 'core:group-selection', disabled: !hasSelection }
 | 
			
		||||
            )
 | 
			
		||||
            if (canRemoveFromGroup) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user