From 77a3559e36fe9d3f3d32036a3e10b8b64d039277 Mon Sep 17 00:00:00 2001 From: guzman-raphael Date: Tue, 2 Nov 2021 07:32:16 -0500 Subject: [PATCH] Disable large refresh request and set filter state for mouse sex. --- .../src/app/session-list/session-list.component.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ibl-frontend/frontend-content/src/app/session-list/session-list.component.ts b/ibl-frontend/frontend-content/src/app/session-list/session-list.component.ts index bcfc244d..98265edc 100644 --- a/ibl-frontend/frontend-content/src/app/session-list/session-list.component.ts +++ b/ibl-frontend/frontend-content/src/app/session-list/session-list.component.ts @@ -479,7 +479,12 @@ export class SessionListComponent implements OnInit, OnDestroy { keys.forEach(key => { this.uniqueValuesForEachAttribute[key] = new Set(); }) - + + this.uniqueValuesForEachAttribute['sex'] = { + F: false, + M: false, + U: false + } // // Loop through each tuple // restrictedSessions.forEach(tuple => { @@ -958,7 +963,7 @@ export class SessionListComponent implements OnInit, OnDestroy { async refreshData() { this.isLoading = true; this.filterStoreService.refreshSessionTableState(); - await this.fetchSessions(); + // await this.fetchSessions(); this.restrictedSessions = await this.applyFilter(); this.createMenu(this.restrictedSessions); //await this.updateTableView(this.restrictedSessions);