mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(electron): reload view in tab context menu issue (#7702)
fix PD-1524
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user