Skip to content

Commit

Permalink
Merge pull request #955 from habx/fix/6.7/filter-rows
Browse files Browse the repository at this point in the history
APP-20804: Fix rows filtering
  • Loading branch information
habx-auto-merge[bot] authored May 5, 2021
2 parents 04d0008 + 928a69a commit 8bdc028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imex/import/useImportTable.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export const parseRawData = async <D extends { id?: string | number }>(
* Display only modified rows or rows validated by the custom filter function
*/
return parsedData.filter((imexRow) => {
if (!imexRow._rowMeta.hasDiff) {
if (imexRow._rowMeta.hasDiff) {
return true
}
return options.filterRows?.(imexRow)
Expand Down

0 comments on commit 8bdc028

Please sign in to comment.