diff --git a/terminus-terminal/src/services/dockMenu.service.ts b/terminus-terminal/src/services/dockMenu.service.ts index 04f0ed42..e037059b 100644 --- a/terminus-terminal/src/services/dockMenu.service.ts +++ b/terminus-terminal/src/services/dockMenu.service.ts @@ -18,7 +18,7 @@ export class DockMenuService { update () { if (this.hostApp.platform === Platform.Windows) { - this.electron.app.setJumpList([{ + this.electron.app.setJumpList(this.config.store.terminal.profiles.length ? [{ type: 'custom', name: 'Profiles', items: this.config.store.terminal.profiles.map(profile => ({ @@ -29,7 +29,7 @@ export class DockMenuService { iconPath: process.execPath, iconIndex: 0, })) - }]) + }] : null) } if (this.hostApp.platform === Platform.macOS) { this.electron.app.dock.setMenu(this.electron.Menu.buildFromTemplate(