diff options
Diffstat (limited to 'frontend/src/components/document/DirectiveFileTree.tsx')
| -rw-r--r-- | frontend/src/components/document/DirectiveFileTree.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/src/components/document/DirectiveFileTree.tsx b/frontend/src/components/document/DirectiveFileTree.tsx index 21050ca..bacffe6 100644 --- a/frontend/src/components/document/DirectiveFileTree.tsx +++ b/frontend/src/components/document/DirectiveFileTree.tsx @@ -140,6 +140,18 @@ export function DirectiveFileTree({ selectedDirectiveId, onSelectDirective, onNe /> <span className="file-tree-doc-icon">{'\u{1F4C4}'}</span> <span className="file-tree-item-title">{directive.title || 'Untitled'}</span> + {directive.stepCounts && ( + <span className="file-tree-step-count" title="Contract steps"> + {directive.stepCounts.completed}/{ + directive.stepCounts.pending + + directive.stepCounts.ready + + directive.stepCounts.running + + directive.stepCounts.completed + + directive.stepCounts.failed + + directive.stepCounts.skipped + } + </span> + )} </button> ))} </div> |
