feat(Alerts): alerts for contacts

This commit is contained in:
Christopher committed 2021-02-19 18:26:52 +01:00
1 parent 75e23b783c
commit 283832f17e
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
})
);
});