feat(gui): access to top from menu

This commit is contained in:
Alexey Kasyanchuk
2018-03-07 02:53:55 +03:00
parent 1e86ba84c1
commit 32bf512bf5

View File

@ -18,6 +18,13 @@ export const manageMenuTemplate = {
click: () => {
BrowserWindow.getFocusedWindow().webContents.send('url', '/')
},
},
{
label: "Top",
accelerator: "CmdOrCtrl+t",
click: () => {
BrowserWindow.getFocusedWindow().webContents.send('url', '/top')
},
}
]
};