mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 15:25:59 +00:00
added column fix
This commit is contained in:
@@ -5,11 +5,11 @@ export interface GridConfigColumns {
|
||||
hiddenColumns: string[];
|
||||
expandedColumns: string[];
|
||||
addedColumns: string[];
|
||||
focusedColumn?: string;
|
||||
}
|
||||
|
||||
export interface GridConfig extends GridConfigColumns {
|
||||
filters: { [uniqueName: string]: string };
|
||||
focusedColumn?: string;
|
||||
sort: {
|
||||
uniqueName: string;
|
||||
order: 'ASC' | 'DESC';
|
||||
|
||||
@@ -81,7 +81,7 @@ export abstract class GridDisplay {
|
||||
}
|
||||
|
||||
get allColumns() {
|
||||
return this.columns;
|
||||
return this.getColumns(null).filter((col) => col.isChecked || col.uniquePath.length == 1);
|
||||
}
|
||||
|
||||
reload() {
|
||||
|
||||
Reference in New Issue
Block a user