Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Jun 26, 2024
1 parent cb82855 commit b0b0064
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/adminApp/components/CreateEditFiltersV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ function MultipleEntitySelect({ name, placeholder, selectedEntities, options, on
return (
<div style={{ width: 400 }}>
<AvniFormLabel label={name} toolTipKey={toolTipKey} position={"top"} />
<Select isMulti placeholder={placeholder} value={selectedValues} options={options} onChange={onChange} maxMenuHeight={200} />
<Select
isMulti
placeholder={placeholder}
value={selectedValues}
options={options}
onChange={newValue => onChange(_.isNil(newValue) ? [] : newValue)}
maxMenuHeight={200}
/>
</div>
);
}
Expand Down Expand Up @@ -117,6 +124,7 @@ export const CreateEditFiltersV2 = ({ selectedFilter, operationalModules, docume

function onTypeChange(type) {
filterConfig.setType(type);
filterConfig.widget = null;
updateFilterConfig();
}

Expand Down
2 changes: 1 addition & 1 deletion src/dataEntryApp/components/CustomizedBackdrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const useStyle = makeStyles(theme => ({

const CustomizedBackdrop = React.forwardRef(function Backdrop(props, ref) {
const classes = useStyle();
const open = props.load ? false : true;
const open = !props.load;
const invisible = false;
return (
<Fade in={open}>
Expand Down

0 comments on commit b0b0064

Please sign in to comment.