Skip to content

Commit

Permalink
Merge branch '354-generic-resource-list' of github.com:beda-software/…
Browse files Browse the repository at this point in the history
…fhir-emr into update-app-layout
  • Loading branch information
vesnushka committed Dec 18, 2024
2 parents 7589ce7 + 9a4b669 commit ad6af5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Table/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function populateTableColumnsWithFiltersAndSorts<R extends Resource>(

const updatedColumn: ColumnType<RecordType<R>> = {
...column,
filtered: !_.isUndefined(filter?.value) && !_.isNull(filter?.value) && filter?.value === '',
filtered: !_.isUndefined(filter?.value) && !_.isNull(filter?.value) && filter?.value !== '',
filterDropdown: filter
? (props: FilterDropdownProps) => <TableFilter {...props} filter={filter} onChange={onChange} />
: undefined,
Expand Down

0 comments on commit ad6af5d

Please sign in to comment.