mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06: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) => {
|
||||
if (!data.event && !data.serverEvent) return;
|
||||
fetchNui("clickContext", data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user