mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-26 11:34:50 +02:00
[aidan] feat/scheduled-tasks: keep step labels in sync on edit and show chevron on every step
This commit is contained in:
@@ -85,7 +85,7 @@ export default function StepList(props: Props) {
|
||||
const isExpanded = expanded.has(s.id);
|
||||
const label = (s.label || '').trim() || firstWords(s.text, 6);
|
||||
const rawBody = (s.text || '').trim();
|
||||
const hasExpandableBody = expandable && rawBody && rawBody !== label;
|
||||
const hasExpandableBody = Boolean(expandable && rawBody);
|
||||
|
||||
return (
|
||||
<Box key={s.id} sx={{ display: 'flex', flexDirection: 'column' }}>
|
||||
|
||||
Reference in New Issue
Block a user