Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Danil Kostromin <[email protected]>
  • Loading branch information
okt-limonikas committed Nov 28, 2024
1 parent 3ff997f commit de27b15
Showing 1 changed file with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ import {
getColorByIdx,
MeasurementChart
} from '@/shared/charts';
import { RunDetailsContainer } from '@/bublik/features/run-details';
import { SingleMeasurementChart } from '@/services/bublik-api';
import { LogPreviewContainer } from '@/bublik/features/log-preview-drawer';

import { useCombinedView } from './plot-list.hooks';
import { isDisabledForCombined, resolvePoint } from './plot-list.utils';
import { PlotPointModalContainer } from './components';

interface PlotListItemProps {
idx: number;
Expand Down Expand Up @@ -60,15 +59,15 @@ const PlotListItem = (props: PlotListItemProps) => {

return (
<>
{point && (
<PlotPointModalContainer
point={point}
isDialogOpen={isDialogOpen}
setIsDialogOpen={setIsDialogOpen}
>
<RunDetailsContainer runId={point.run_id} isFullMode />
</PlotPointModalContainer>
)}
{point ? (
<LogPreviewContainer
logName=""
runId={point?.run_id}
resultId={point?.result_id}
open={isDialogOpen}
onOpenChange={setIsDialogOpen}
/>
) : null}
<li className="py-2.5 px-4">
<MeasurementChart
chart={plot}
Expand Down

0 comments on commit de27b15

Please sign in to comment.