Skip to content

Commit

Permalink
Bugfix KNOWAGE-8377
Browse files Browse the repository at this point in the history
  • Loading branch information
BojanSovticEngIT committed Jan 15, 2024
1 parent d630915 commit 12868c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const removeUnusedVisibleColumnsFromModel = (treeListTypeModel) => {
if (!treeListTypeModel || !treeListTypeModel['VISIBLE-COLUMNS']) return
if (!treeListTypeModel || !treeListTypeModel['VISIBLE-COLUMNS'] || !treeListTypeModel.STMT) return
const visibleColumns = treeListTypeModel['VISIBLE-COLUMNS'].split(',')
const filteredColumns = visibleColumns.filter((column: string) => treeListTypeModel.STMT.includes(column.trim()))
treeListTypeModel['VISIBLE-COLUMNS'] = filteredColumns.join(',')
Expand Down

0 comments on commit 12868c7

Please sign in to comment.