open in wa action
This commit is contained in:
parent
cb4d539f91
commit
3b13a398f4
@ -487,6 +487,12 @@ const actions = {
|
|||||||
mailToEncoded(encEmail);
|
mailToEncoded(encEmail);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
openWhatsApp: tel => {
|
||||||
|
let waUrl = "https://wa.me/" + tel;
|
||||||
|
|
||||||
|
window.open(waUrl, "_blank");
|
||||||
|
},
|
||||||
|
|
||||||
copy: (mail, copyButton) => {
|
copy: (mail, copyButton) => {
|
||||||
copyToClipboard(mail);
|
copyToClipboard(mail);
|
||||||
copyButton.textContent = "copied";
|
copyButton.textContent = "copied";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user