mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update src/menu-helpers.js
Co-authored-by: Sadick <sadickjunior@gmail.com>
This commit is contained in:
@@ -61,7 +61,6 @@ function findMatchingItemIndex(menu, { type, id, submenu }) {
|
||||
for (let index = 0; index < menu.length; index++) {
|
||||
const item = menu[index];
|
||||
if (
|
||||
// normalizeLabel(item.label) === normalizeLabel(label) &&
|
||||
item.id === id &&
|
||||
(item.submenu != null) === (submenu != null)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user