File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ function OperationViewerInnerDetails({ operation }: { operation: Operation }) {
433
433
< div className = "col-span-2" >
434
434
< H4 className = "mb-4" > 动作序列</ H4 >
435
435
436
- { operation . parsedContent . actions . length ? (
436
+ { operation . parsedContent . actions ? .length ? (
437
437
< div className = "flex flex-col pb-8" >
438
438
{ operation . parsedContent . actions . map ( ( action , i ) => (
439
439
< ActionCard action = { action } key = { i } />
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { OpDifficulty } from './operation'
5
5
*/
6
6
export namespace CopilotDocV1 {
7
7
export interface Operation {
8
- actions : Action [ ]
8
+ actions ? : Action [ ]
9
9
doc : Doc
10
10
groups ?: Group [ ]
11
11
minimumRequired : string
You can’t perform that action at this time.
0 commit comments