From 72c20f1742cae0a88dbb14038295a29486ef42a5 Mon Sep 17 00:00:00 2001 From: chip Date: Sun, 18 Oct 2020 21:53:38 +0200 Subject: [PATCH] Tweak(Contacts:Client): Lowerd wait for triggering event for fetching contacts --- resources/client/cl_contacts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/client/cl_contacts.ts b/resources/client/cl_contacts.ts index 2ae7c15..ae0b53d 100644 --- a/resources/client/cl_contacts.ts +++ b/resources/client/cl_contacts.ts @@ -21,5 +21,6 @@ on(`__cfx_nui:${events.CONTACTS_ADD_CONTACT}`, (data: any) => { setTimeout(() => { emitNet(events.CONTACTS_GET_CONTACTS) - }, 1000) + }, 500) }); +