mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 11:30:15 +00:00
Unify mock chart continuity across live ticks
This commit is contained in:
parent
675dff7da5
commit
afc7a11cea
43 changed files with 820 additions and 38 deletions
|
|
@ -76,8 +76,9 @@ export const getHostRevealTargetIndex = (
|
|||
rowIndexById: Map<string, number>,
|
||||
expandedResourceId: string | null,
|
||||
highlightedResourceId: string | null | undefined,
|
||||
revealedResourceId?: string | null,
|
||||
): number | null => {
|
||||
const targetId = expandedResourceId ?? highlightedResourceId ?? null;
|
||||
const targetId = expandedResourceId ?? revealedResourceId ?? highlightedResourceId ?? null;
|
||||
if (!targetId) return null;
|
||||
return rowIndexById.get(targetId) ?? null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue