mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(resources/notes): resolve fetch on deletion
This commit is contained in:
1 parent
ebe75dba1f
commit
7e9ad952cf
3 files changed
+7
No files matched your search
@@ -14,6 +14,10 @@ onNet(events.NOTE_SEND_NOTE_SUCCESS, () => {
|
||||
emitNet(events.NOTE_FETCH_ALL_NOTES);
|
||||
});
|
||||
|
||||
onNet(events.NOTE_DELETE_NOTE_SUCCESS, () => {
|
||||
emitNet(events.NOTE_FETCH_ALL_NOTES);
|
||||
});
|
||||
|
||||
RegisterNuiCallbackType(events.NOTE_DELETE_NOTE);
|
||||
on(`__cfx_nui:${events.NOTE_DELETE_NOTE}`, (data: any) => {
|
||||
emitNet(events.NOTE_DELETE_NOTE, data);
|
||||
|
||||
Reference in new issue
Block a user