Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { Filter } from '../../utils/filters/filtersHelpers-types';
import useSchema from '../../utils/hooks/useSchema';
import FilterValuesForDynamicSubKey from './FilterValuesForDynamicSubKey';
import { useTheme } from '@mui/material/styles';
import { Stack } from '@mui/material';

interface FilterValuesProps {
label: string | React.JSX.Element;
Expand Down Expand Up @@ -204,7 +205,7 @@ const FilterValues: FunctionComponent<FilterValuesProps> = ({
const isWarning = isRegardingOfFilterWarning(currentFilter, scos.map((n) => n.id), filtersRepresentativesMap);

return (
<>
<Stack direction="row">
{isWarning && (
<Tooltip title={
t_i18n('', {
Expand Down Expand Up @@ -269,23 +270,17 @@ const FilterValues: FunctionComponent<FilterValuesProps> = ({
>
<Box
sx={{
padding: '0 4px',
display: 'flex',
px: 0.5,
}}
>
<Chip
label={(
<FilterValues
label={keyLabel}
tooltip={false}
parentFilter={currentFilter}
currentFilter={val}
filtersRepresentativesMap={filtersRepresentativesMap}
redirection
noLabelDisplay={true}
/>
)}
color={chipColor}
<FilterValues
label={keyLabel}
tooltip={false}
parentFilter={currentFilter}
currentFilter={val}
filtersRepresentativesMap={filtersRepresentativesMap}
redirection
noLabelDisplay={true}
/>
</Box>
</Tooltip>
Expand All @@ -294,7 +289,7 @@ const FilterValues: FunctionComponent<FilterValuesProps> = ({
})
}
</Box>
</>
</Stack>
);
}
if (noLabelDisplay) {
Expand Down