Skip to content

Commit

Permalink
Show 'Copied' feedback after copying message link
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-lr committed Aug 30, 2022
1 parent 278c485 commit 5241ef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ 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 5241ef6

Please sign in to comment.