feat(contacts/nui | calling/client|server): getName | close modal on add | show dail history

This commit is contained in:
Christopher committed 2021-01-29 19:53:14 +01:00
1 parent 0f10eac796
commit 89ea248d32
9 files changed
+72 -43

No files matched your search

@@ -56,13 +56,14 @@ export const ContactList = () => {
});
};
const filteredRegEx = new RegExp(filteredContacts, "gi")
return (
<List>
{contacts.contacts
.filter(
(contact) =>
contact.display.includes(filteredContacts.toLowerCase()) ||
contact.number.includes(filteredContacts.toLowerCase())
contact.display.match(filteredRegEx) || contact.number.match(filteredRegEx)
)
.map((contact) => (
<>