Skip to content

Commit

Permalink
feat(app): remove drugs invalidation as getting userdata is dynamic now
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Sep 24, 2024
1 parent b819eb9 commit 53b5017
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/lib/common/utilities/genome_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ Future<void> _saveDiplotypeAndActiveDrugsResponse(
UserData.instance.labData = labData;
await UserData.save();
await activeDrugs.setList(activeDrugList);
// invalidate cached drugs because lookups may have changed and we need to
// refilter the matching guidelines
await DrugsWithGuidelines.erase();
}

String formatLookupMapKey(String gene, String variant) {
Expand Down

0 comments on commit 53b5017

Please sign in to comment.