group filters - copy from parent

This commit is contained in:
Jan Prochazka 2021-01-04 18:59:45 +01:00
parent fc782304fd
commit b033658444

View File

@ -123,7 +123,8 @@ export default function TableDataGrid({
setMyLoadedTime(loadedTime); setMyLoadedTime(loadedTime);
if (!reference) return; if (!reference) return;
const filters = { const filters = {
...childConfig.filters, // ...childConfig.filters,
...(config && config.filters),
..._.fromPairs( ..._.fromPairs(
reference.columns.map((col) => [ reference.columns.map((col) => [
col.refName, col.refName,