mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
SDA-3970 Add copy capability on links
This commit is contained in:
parent
8bef490b78
commit
9d2fbd56f7
@ -192,6 +192,7 @@ export class ContextMenuBuilder {
|
||||
public buildMenuForLink(menuInfo) {
|
||||
const menu = new Menu();
|
||||
const isEmailAddress = menuInfo.linkURL.startsWith('mailto:');
|
||||
this.addCopy(menu, menuInfo);
|
||||
const copyLink = new MenuItem({
|
||||
label: isEmailAddress
|
||||
? this.stringTable.copyMail()
|
||||
|
Loading…
Reference in New Issue
Block a user