mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 17:36:00 +00:00
removed commented code
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user