diff --git a/src/components/Timeline/Default.tsx b/src/components/Timeline/Default.tsx index 6c84aec3..d72e427c 100644 --- a/src/components/Timeline/Default.tsx +++ b/src/components/Timeline/Default.tsx @@ -78,6 +78,7 @@ const TimelineDefault: React.FC = ({ status={actualStatus} queryKey={queryKey} rootQueryKey={rootQueryKey} + disabled={highlighted} > + ([]) @@ -23,6 +24,7 @@ const TimelineContextMenu: React.FC = ({ status, queryKey, rootQueryKey, + disabled, ...props }) => { if (!status || !queryKey) { @@ -59,7 +61,9 @@ const TimelineContextMenu: React.FC = ({ rootQueryKey }) - return ( + return disabled ? ( + <>{children} + ) : (