tweak(marketplace): Tweak marketplace to match current fetching std

This commit is contained in:
Taso committed 2021-06-08 16:35:41 -04:00
1 parent 10639260e0
commit 5e225ca736
23 files changed
+148 -136

No files matched your search

-6
View File
@@ -143,12 +143,6 @@ on(`__cfx_nui:${PhoneEvents.UI_IS_READY}`, (_data: any, cb: Function) => {
* NUI Service Callback Registration
*
* * * * * * * * * * * * */
RegisterNuiCallbackType(PhoneEvents.OPEN_APP_LISTINGS);
on(`__cfx_nui:${PhoneEvents.OPEN_APP_LISTINGS}`, (data: any, cb: Function) => {
emitNet(MarketplaceEvents.FETCH_LISTING);
cb();
});
RegisterNuiCallbackType(PhoneEvents.OPEN_APP_NOTES);
on(`__cfx_nui:${PhoneEvents.OPEN_APP_NOTES}`, (data: any, cb: Function) => {
emitNet(NotesEvents.FETCH_ALL_NOTES);