Skip to content

Commit cb01e3e

Browse files
committed
minor bug fix
1 parent 5dea643 commit cb01e3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/pathway-browser/src/app/details/tabs/molecule-tab/structure-viewer/structure-viewer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class StructureViewerComponent {
119119
readonly moleculeType = input.required<string | null>();
120120
viewer = viewChild<ElementRef<HTMLElement>>('viewer');
121121
isProtein = computed(() => this.moleculeType() === MoleculeType.PROTEIN);
122-
isChemical = computed(() => this.moleculeType() === MoleculeType.CHEMICAL || MoleculeType.CHEMICAL_DRUG);
122+
isChemical = computed(() => this.moleculeType() === MoleculeType.CHEMICAL || this.moleculeType() === MoleculeType.CHEMICAL_DRUG);
123123
chebiIdentifier = signal<string | undefined>(undefined);
124124

125125
pdbIdentifiers = computed(() => this.getPDBIdentifiers(this.xRefs()));

0 commit comments

Comments
 (0)