after copying personal data, add a message to copy contacts for them

This commit is contained in:
2024-08-24 07:56:23 -06:00
parent 9e98a9ab43
commit b5a833cc11
3 changed files with 30 additions and 14 deletions

View File

@@ -1128,8 +1128,8 @@ export default class ContactsView extends Vue {
this.contactsSelected.includes(c.did),
);
const message =
"To add contacts, paste this into the box on the 'People' screen.\n\n" +
JSON.stringify(selectedContacts, null, 2);
"To add contacts, paste this into the box on the 'Contacts' screen.\n\n" +
JSON.stringify(selectedContacts);
useClipboard()
.copy(message)
.then(() => {
@@ -1138,7 +1138,7 @@ export default class ContactsView extends Vue {
group: "alert",
type: "info",
title: "Copied",
text: "Those contacts were copied to the clipboard. Have them paste it in the box on their 'People' screen.",
text: "Those contacts were copied to the clipboard. Have them paste it in the box on their 'Contacts' screen.",
},
5000,
);