We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dea643 commit cb01e3eCopy full SHA for cb01e3e
1 file changed
projects/pathway-browser/src/app/details/tabs/molecule-tab/structure-viewer/structure-viewer.component.ts
@@ -119,7 +119,7 @@ export class StructureViewerComponent {
119
readonly moleculeType = input.required<string | null>();
120
viewer = viewChild<ElementRef<HTMLElement>>('viewer');
121
isProtein = computed(() => this.moleculeType() === MoleculeType.PROTEIN);
122
- isChemical = computed(() => this.moleculeType() === MoleculeType.CHEMICAL || MoleculeType.CHEMICAL_DRUG);
+ isChemical = computed(() => this.moleculeType() === MoleculeType.CHEMICAL || this.moleculeType() === MoleculeType.CHEMICAL_DRUG);
123
chebiIdentifier = signal<string | undefined>(undefined);
124
125
pdbIdentifiers = computed(() => this.getPDBIdentifiers(this.xRefs()));
0 commit comments