mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): should activate the target tab when closing other tabs (#7704)
fix PD-1520
This commit is contained in:
@@ -1068,6 +1068,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
||||
|
||||
WebContentViewsManager.instance.patchTabViewsMeta({
|
||||
workbenches: tabsToRetain,
|
||||
activeWorkbenchId: tabId,
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user