Skip to content
Snippets Groups Projects
Commit 4cd2be4a authored by Maxime Jacquemin's avatar Maxime Jacquemin Committed by David Bühler
Browse files

[ivette][WIP] Triggering the context menu only on pointers

parent 6bfa6d79
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ function TableCell(props: TableCellProps) {
const onClick = () => {};
return { label, onClick };
});
if (items !== []) Dome.popupMenu(items);
if (items.length > 0) Dome.popupMenu(items);
})
.catch((err) => console.log(err));
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment