mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08: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',
|
label: 'Refresh tab',
|
||||||
click: () => {
|
click: () => {
|
||||||
WebContentViewsManager.instance
|
reloadView().catch(logger.error);
|
||||||
.getViewById(tabId)
|
|
||||||
?.webContents.reload();
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user