mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(Alerts): alerts for contacts
This commit is contained in:
1 parent
11af8bfb5a
commit
9846a4e1ae
4 files changed
+31
-21
No files matched your search
@@ -40,12 +40,12 @@ onNet(events.CONTACTS_DELETE_CONTACT_SUCCESS, () => {
|
||||
emitNet(events.CONTACTS_GET_CONTACTS);
|
||||
});
|
||||
|
||||
onNet(events.CONTACTS_ACTION_RESULT, (result: string) => {
|
||||
onNet(events.CONTACTS_ACTION_RESULT, (alert: any) => {
|
||||
SendNuiMessage(
|
||||
JSON.stringify({
|
||||
app: 'CONTACTS',
|
||||
method: 'setAlert',
|
||||
data: result,
|
||||
data: alert
|
||||
})
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user