build fix

This commit is contained in:
Eugene Pankov 2018-10-12 20:40:31 +02:00
parent 9b6a09129c
commit 7b33d89032

View File

@ -152,7 +152,7 @@ export default class TerminalModule {
hostApp.newWindow()
}
if (hotkey.startsWith('shell.')) {
let shells = await terminal.shells$
let shells = await terminal.shells$.toPromise()
let shell = shells.find(x => x.id === hotkey.split('.')[1])
if (shell) {
terminal.openTab(shell)