fix: [code-791]: fix changed files line as well (#393)

This commit is contained in:
Calvin Lee 2023-09-01 20:36:32 +00:00 committed by Harness
parent 914a50b9a2
commit 0b60edfdef

View File

@ -81,7 +81,7 @@ export const ChangesDropdown: React.FC<{ diffs: DiffFileEntry[] }> = ({ diffs })
</Container>
}
tooltipProps={{ interactionKind: 'click', hasBackdrop: true, popoverClassName: css.popover }}>
<StringSubstitute str={getString('pr.showLink')} vars={{ count: diffs?.length || 0 }} />
<StringSubstitute str={getString('pr.showLink')} vars={{ count: diffs?.length || '0' }} />
</Button>
)
}