diff --git a/web/src/components/MultiSelect.jsx b/web/src/components/MultiSelect.jsx index 99412e938..226316966 100644 --- a/web/src/components/MultiSelect.jsx +++ b/web/src/components/MultiSelect.jsx @@ -13,9 +13,11 @@ export default function MultiSelect({ className, title, options, selection, onTo const [state, setState] = useState({ showMenu: false, }); - + const isOptionSelected = (item) => { return selection == "all" || selection.split(',').indexOf(item) > -1; } - + + const menuHeight = Math.round(window.innerHeight * 0.55); + return (