Skip to content

Commit aef1aee

Browse files
committed
fix(workflow-renderer): default the optional note name for OverflowSpan
1 parent f633b20 commit aef1aee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/workflow-renderer/src/note/note-block-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export function NoteBlockView({
219219
<div className='flex items-center justify-between border-[var(--divider)] border-b p-2'>
220220
<div className='flex min-w-0 flex-1 items-center'>
221221
<OverflowSpan
222-
value={name}
222+
value={name ?? ''}
223223
className={cn(
224224
'truncate font-medium text-md',
225225
!isEnabled && 'text-[var(--text-muted)]'

0 commit comments

Comments
 (0)