mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-05 07:53:46 +03:00
fix(electron): reload view in tab context menu issue (#7702)
fix PD-1524
This commit is contained in:
parent
9307acf0de
commit
741ff2379e
@ -1019,9 +1019,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
||||
{
|
||||
label: 'Refresh tab',
|
||||
click: () => {
|
||||
WebContentViewsManager.instance
|
||||
.getViewById(tabId)
|
||||
?.webContents.reload();
|
||||
reloadView().catch(logger.error);
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user