only show schedule name in notes for upcoming transactions (#5580)

This commit is contained in:
Matt Fiddaman
2025-08-19 19:06:27 -04:00
committed by GitHub
parent 645342d47d
commit 89e5676cfb
2 changed files with 7 additions and 1 deletions

View File

@@ -1376,7 +1376,7 @@ const Transaction = memo(function Transaction({
textAlign="flex"
exposed={focusedField === 'notes'}
focused={focusedField === 'notes'}
value={notes ?? schedule?.name ?? ''}
value={notes ?? (isPreview ? schedule?.name : null) ?? ''}
valueStyle={valueStyle}
formatter={value =>
NotesTagFormatter({ notes: value, onNotesTagClick })