mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Catalog render optimizations (#3422)
This commit is contained in:
1 parent
86db8e5e2c
commit
4fe0a7d73e
14 files changed
+268
-147
No files matched your search
@@ -137,7 +137,11 @@ export class UserStore extends BaseStore<UserStoreModel> /* implements UserStore
|
||||
* Toggles the hidden configuration of a table's column
|
||||
*/
|
||||
toggleTableColumnVisibility(tableId: string, columnId: string) {
|
||||
this.hiddenTableColumns.get(tableId)?.toggle(columnId);
|
||||
if (!this.hiddenTableColumns.get(tableId)) {
|
||||
this.hiddenTableColumns.set(tableId, new ObservableToggleSet());
|
||||
}
|
||||
|
||||
this.hiddenTableColumns.get(tableId).toggle(columnId);
|
||||
}
|
||||
|
||||
@action
|
||||
|
||||
Reference in new issue
Block a user