Skip to content

Commit

Permalink
chore(#684): use drug.guidelineGenes in GuidelineAnnotationCard
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Jan 3, 2024
1 parent c107750 commit 35bd613
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/lib/drug/widgets/annotation_cards/guideline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ class GuidelineAnnotationCard extends StatelessWidget {
style: TextStyle(fontStyle: FontStyle.italic),
);
} else {
final genes = drug.userGuideline?.lookupkey.keys ??
drug.guidelines.first.lookupkey.keys;
final geneDescriptions = genes.map((gene) {
final geneDescriptions = drug.guidelineGenes.map((gene) {
final phenotypeInformation = UserData.phenotypeInformationFor(
gene,
context,
Expand Down

0 comments on commit 35bd613

Please sign in to comment.