File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,16 @@ export default function ActivePlan({
8080 }
8181 updatedAt = { plan . updated_at }
8282 />
83- < TasksOverview . Details
84- models = { models }
85- showBatches = { plan . type !== EnumPlanApplyType . Virtual }
86- showVirtualUpdate = {
87- plan . type === EnumPlanApplyType . Virtual
88- }
89- showProgress = { true }
90- />
83+ { models != null && (
84+ < TasksOverview . Details
85+ models = { models }
86+ showBatches = { plan . type !== EnumPlanApplyType . Virtual }
87+ showVirtualUpdate = {
88+ plan . type === EnumPlanApplyType . Virtual
89+ }
90+ showProgress = { true }
91+ />
92+ ) }
9193 </ >
9294 ) }
9395 </ TasksOverview >
Original file line number Diff line number Diff line change 1- import type { File , FileType } from '../api/client'
1+ import { type File , FileType } from '../api/client'
22import { type ModelDirectory } from './directory'
33import { type InitialArtifact , ModelArtifact } from './artifact'
44import { isStringEmptyOrNil } from '@utils/index'
You can’t perform that action at this time.
0 commit comments