mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
update notes enums
This commit is contained in:
1 parent
2e4d752cd3
commit
5ce6cf2d4a
3 files changed
+6
-4
No files matched your search
@@ -2,7 +2,7 @@ import { NotesEvents } from '../../typings/notes';
|
||||
import { sendNotesEvent } from '../utils/messages';
|
||||
|
||||
onNet(NotesEvents.SEND_NOTE, (notes: any) => {
|
||||
sendNotesEvent('setNotes', notes);
|
||||
sendNotesEvent(NotesEvents.SEND_NOTE, notes);
|
||||
});
|
||||
|
||||
RegisterNuiCallbackType(NotesEvents.ADD_NOTE);
|
||||
@@ -35,5 +35,5 @@ onNet(NotesEvents.UPDATE_NOTE_SUCCESS, () => {
|
||||
});
|
||||
|
||||
onNet(NotesEvents.ACTION_RESULT, (alert: any) => {
|
||||
sendNotesEvent('setAlert', alert);
|
||||
sendNotesEvent(NotesEvents.SEND_ALERT, alert);
|
||||
});
|
||||
Reference in new issue
Block a user