qury design columns grid

This commit is contained in:
Jan Prochazka
2020-12-27 16:02:50 +01:00
parent 0747614e00
commit 79759b1665
4 changed files with 94 additions and 17 deletions

View File

@@ -0,0 +1,5 @@
export default function cleanupDesignColumns(columns) {
return (columns || []).filter(
(x) => x.isOutput || x.isGrouped || x.alias || (x.aggregate && x.aggregate != '---') || x.sortOrder || x.filter
);
}