diff --git a/src/pages/home/report/ReportActionItemFragment.js b/src/pages/home/report/ReportActionItemFragment.js index 71b474527150..9e5e65dfca9c 100644 --- a/src/pages/home/report/ReportActionItemFragment.js +++ b/src/pages/home/report/ReportActionItemFragment.js @@ -25,12 +25,16 @@ const propTypes = { /** Does this fragment belong to a reportAction that has not yet loaded? */ loading: PropTypes.bool, + /** Should this fragment be contained in a single line? */ + isSingleLine: PropTypes.bool, + ...windowDimensionsPropTypes, }; const defaultProps = { isAttachment: false, loading: false, + isSingleLine: false, tooltipText: '', }; @@ -79,9 +83,10 @@ class ReportActionItemFragment extends React.PureComponent { ); case 'TEXT': return ( - + {Str.htmlDecode(fragment.text)} diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index 8845b69476e3..1b4ead443c9a 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -71,6 +71,7 @@ const ReportActionItemSingle = ({ tooltipText={action.actorEmail} isAttachment={action.isAttachment} isLoading={action.loading} + isSingleLine /> ))}