1 parent 5dfbfef commit 79729a9Copy full SHA for 79729a9
1 file changed
src/features/executiveTrainingModule.js
@@ -388,9 +388,8 @@ import { registerExportInfo } from '../core/exportInfo.js';
388
const execMatch = url.match(EXEC_API_REGEX);
389
const currentSlot = getCurrentExecSlot();
390
const detailPosition = d?.currentWorkHistory?.position;
391
- const detailSlot = detailPosition != null ? SLOT_MAP[detailPosition] : null;
392
const matchesSlot = currentSlot != null && (
393
- detailSlot === currentSlot ||
+ detailPosition === currentSlot ||
394
(current && execMatch && Number(execMatch[1]) === Number(current.id))
395
);
396
if (execMatch && matchesSlot && getCurrentExecPanelContainer()) {
0 commit comments