mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-13 09:13:55 +00:00
fix(web/context): Don't close menu when clicking item without events
This commit is contained in:
1 parent
50b1ddd167
commit
8ef1b876e1
1 file changed
+1
@@ -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