fix ui: fix conditional filters modal (#2041)
This commit is contained in:
parent
c1b2e0afe0
commit
6df9458f6c
2 changed files with 3 additions and 2 deletions
|
|
@ -161,6 +161,7 @@ function FilterModal(props: Props) {
|
|||
const { matchingCategories, matchingFilters } = getMatchingEntries(
|
||||
searchQuery,
|
||||
filterJson(filterJsonObj, excludeFilterKeys, allowedFilterKeys)
|
||||
);
|
||||
|
||||
const isResultEmpty =
|
||||
(!filterSearchList || Object.keys(filterSearchList).length === 0) &&
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ function ConditionalRecordingSettings({
|
|||
</div>
|
||||
<div className={'mt-2 flex flex-col gap-4'}>
|
||||
{conditions.map((condition, index) => (
|
||||
<>
|
||||
<React.Fragment key={`${index}_${condition.name}`}>
|
||||
<ConditionSet
|
||||
key={index}
|
||||
set={index + 1}
|
||||
|
|
@ -69,7 +69,7 @@ function ConditionalRecordingSettings({
|
|||
<span>OR</span>
|
||||
</div>
|
||||
) : null}
|
||||
</>
|
||||
</React.Fragment>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue