Skip to content

Commit

Permalink
Merge pull request #10611 from Expensify/youssef_copy_link_success_fe…
Browse files Browse the repository at this point in the history
…edback

Show success checkmark after copying message link
  • Loading branch information
cristipaval authored Aug 30, 2022
2 parents d1ccecd + 5241ef6 commit 41ec9bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ export default [
{
textTranslateKey: 'reportActionContextMenu.copyLink',
icon: Expensicons.LinkCopy,
successIcon: Expensicons.Checkmark,
successTextTranslateKey: 'reportActionContextMenu.copied',
shouldShow: (type, reportAction, betas, menuTarget) => {
const isAttachment = ReportUtils.isReportMessageAttachment(_.last(lodashGet(reportAction, ['message'], [{}])));

Expand Down

0 comments on commit 41ec9bd

Please sign in to comment.