removed commented code

This commit is contained in:
Jan Prochazka
2022-08-07 16:49:16 +02:00
parent 6154b4c780
commit 5418bb932c
4 changed files with 0 additions and 27 deletions

View File

@@ -30,7 +30,6 @@ export interface PerspectiveFilterColumnInfo {
export interface PerspectiveConfig extends PerspectiveConfigColumns {
rootObject: { schemaName?: string; pureName: string };
filters: { [uniqueName: string]: string };
// filterInfos: { [uniqueName: string]: PerspectiveFilterColumnInfo };
sort: {
[parentUniqueName: string]: {
uniqueName: string;
@@ -47,7 +46,6 @@ export function createPerspectiveConfig(rootObject: { schemaName?: string; pureN
uncheckedColumns: [],
customJoins: [],
filters: {},
// filterInfos: {},
sort: {},
rootObject,
};

View File

@@ -168,26 +168,6 @@ export abstract class PerspectiveTreeNode {
}
}
// setFilter(value) {
// this.setConfig(
// cfg => ({
// ...cfg,
// filters: {
// ...cfg.filters,
// [this.uniqueName]: value,
// },
// filterInfos: {
// ...cfg.filterInfos,
// [this.uniqueName]: {
// columnName: this.columnName,
// filterType: this.filterType,
// },
// },
// }),
// true
// );
// }
getFilter() {
return this.config.filters[this.uniqueName];
}