aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Menu.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Menu.ts')
-rw-r--r--src/lib/Menu.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Menu.ts b/src/lib/Menu.ts
index d611d5f3e..f587f8df9 100644
--- a/src/lib/Menu.ts
+++ b/src/lib/Menu.ts
@@ -700,6 +700,7 @@ class FranzMenu implements StoresProps {
700 700
701 // Don't initialize when window['ferdium'] is undefined 701 // Don't initialize when window['ferdium'] is undefined
702 if (window['ferdium'] === undefined) { 702 if (window['ferdium'] === undefined) {
703 // eslint-disable-next-line no-console
703 console.log('skipping menu init'); 704 console.log('skipping menu init');
704 return; 705 return;
705 } 706 }
@@ -1010,6 +1011,7 @@ class FranzMenu implements StoresProps {
1010 }, 1011 },
1011 ]; 1012 ];
1012 1013
1014 // eslint-disable-next-line unicorn/prefer-at
1013 (tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push( 1015 (tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push(
1014 { 1016 {
1015 type: 'separator', 1017 type: 'separator',
@@ -1027,6 +1029,7 @@ class FranzMenu implements StoresProps {
1027 1029
1028 tpl[5].submenu = this.todosMenu(); 1030 tpl[5].submenu = this.todosMenu();
1029 1031
1032 // eslint-disable-next-line unicorn/prefer-at
1030 (tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push( 1033 (tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push(
1031 { 1034 {
1032 type: 'separator', 1035 type: 'separator',