File tree 2 files changed +11
-9
lines changed
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({
80
80
}
81
81
updatedAt = { plan . updated_at }
82
82
/>
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
+ ) }
91
93
</ >
92
94
) }
93
95
</ 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'
2
2
import { type ModelDirectory } from './directory'
3
3
import { type InitialArtifact , ModelArtifact } from './artifact'
4
4
import { isStringEmptyOrNil } from '@utils/index'
You can’t perform that action at this time.
0 commit comments