fix(web/context): Don't close menu when clicking item without events

This commit is contained in:
Luke
2022-04-15 10:23:21 +02:00
parent 50b1ddd167
commit 8ef1b876e1

View File

@@ -24,6 +24,7 @@ const openMenu = (id: string | undefined) => {
};
const clickContext = (data: DataProps) => {
if (!data.event && !data.serverEvent) return;
fetchNui("clickContext", data);
};