We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b29423d + 6069af8 commit 75784fdCopy full SHA for 75784fd
src/electron/menu.js
@@ -165,15 +165,6 @@ function helpSubMenu(showCompassOverview) {
165
};
166
}
167
168
-function nonDarwinCompassSubMenuItem() {
169
- return {
170
- label: 'MongoDB Compass',
171
- submenu: [
172
- quitSubMenuItem('Exit')
173
- ]
174
- };
175
-}
176
-
177
function shareSubMenu() {
178
return {
179
label: 'Share',
@@ -256,12 +247,10 @@ function darwinMenu(menuState) {
256
247
257
248
function nonDarwinMenu(menuState) {
258
249
var menu = [
259
- nonDarwinCompassSubMenuItem()
250
+ connectSubMenu(true),
251
+ viewSubMenu()
260
252
];
261
253
262
- menu.push(connectSubMenu());
263
- menu.push(viewSubMenu());
264
265
254
if (menuState.showShare) {
266
255
menu.push(shareSubMenu());
267
0 commit comments