mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(web/context): Don't close menu when clicking item without events
This commit is contained in:
@@ -24,6 +24,7 @@ const openMenu = (id: string | undefined) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const clickContext = (data: DataProps) => {
|
const clickContext = (data: DataProps) => {
|
||||||
|
if (!data.event && !data.serverEvent) return;
|
||||||
fetchNui("clickContext", data);
|
fetchNui("clickContext", data);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user