mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-02-21 23:51:53 -08:00
fix: window undefined
This commit is contained in:
parent
27446c456a
commit
7cc733ee3d
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ export async function getWorkspaceMenuTemplate(
|
|||
{
|
||||
label: t('WorkspaceSelector.OpenInBrowser'),
|
||||
click: async () => {
|
||||
const actualIP = await window.service.native.getLocalHostUrlWithActualIP(homeUrl);
|
||||
await window.service.native.open(actualIP);
|
||||
const actualIP = await service.native.getLocalHostUrlWithActualIP(homeUrl);
|
||||
await service.native.open(actualIP);
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue