Skip to content

Commit

Permalink
Fix: initialize filters only once
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Leenknegt committed Mar 21, 2023
1 parent ea47f58 commit 5d8d336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/studyView/StudyViewPageStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ export class StudyViewPageStore
() => {
if (
!this.hesitateUpdate ||
this.isFiltersProxyInitialized.isComplete
(this.filterUpdateTime === INIT_FILTER_TIME &&
this.isFiltersProxyInitialized.isComplete)
) {
this.filters = this.filtersProxy;
this.filterUpdateTime = performance.now();
Expand Down

0 comments on commit 5d8d336

Please sign in to comment.