fix(electron): should activate the target tab when closing other tabs (#7704)

fix PD-1520
This commit is contained in:
pengx17
2024-08-05 03:11:55 +00:00
parent cbdcfdc2d8
commit c0c5c83dad

View File

@@ -1068,6 +1068,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
WebContentViewsManager.instance.patchTabViewsMeta({
workbenches: tabsToRetain,
activeWorkbenchId: tabId,
});
},
},