feat(Alerts): alerts for contacts

This commit is contained in:
Christopher committed 2021-02-18 23:20:24 +01:00
1 parent 11af8bfb5a
commit 9846a4e1ae
4 files changed
+31 -21

No files matched your search

+2 -2
View File
@@ -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
})
);
});