Skip to content

Commit

Permalink
Merge pull request #34407 from dukenv0307/fix/33986
Browse files Browse the repository at this point in the history
Add offline feedback for deleted task action
  • Loading branch information
marcaaron authored Feb 26, 2024
2 parents 5a17648 + 9ce863a commit f83ebde
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,13 +666,16 @@ function ReportActionItem(props) {
<View style={[StyleUtils.getReportWelcomeContainerStyle(props.isSmallScreenWidth)]}>
<AnimatedEmptyStateBackground />
<View style={[StyleUtils.getReportWelcomeTopMarginStyle(props.isSmallScreenWidth)]}>
<ReportActionItemSingle
action={parentReportAction}
showHeader={_.isUndefined(props.draftMessage)}
report={props.report}
>
<RenderHTML html={`<comment>${props.translate('parentReportAction.deletedTask')}</comment>`} />
</ReportActionItemSingle>
<OfflineWithFeedback pendingAction={parentReportAction.pendingAction}>
<ReportActionItemSingle
action={parentReportAction}
showHeader={_.isUndefined(props.draftMessage)}
report={props.report}
>
<RenderHTML html={`<comment>${props.translate('parentReportAction.deletedTask')}</comment>`} />
</ReportActionItemSingle>
</OfflineWithFeedback>
<View style={styles.reportHorizontalRule} />
</View>
</View>
);
Expand Down

0 comments on commit f83ebde

Please sign in to comment.