kopia lustrzana https://github.com/dceejay/electron-node-red
showMap flag was removing the wrong item from the menu
rodzic
e252b134c6
commit
4ebf68403d
2
main.js
2
main.js
|
@ -222,7 +222,7 @@ var template = [
|
|||
// ]}
|
||||
];
|
||||
|
||||
if (!showMap) { template[0].submenu.splice(6,1); }
|
||||
if (!showMap) { template[0].submenu.splice(8,1); }
|
||||
|
||||
if (!editable) {
|
||||
template[0].submenu.splice(3,1);
|
||||
|
|
Ładowanie…
Reference in New Issue