diff --git a/landingPages/landing-utils/showSubjects.component.ts b/landingPages/landing-utils/showSubjects.component.ts index 48c276e6..590f6180 100644 --- a/landingPages/landing-utils/showSubjects.component.ts +++ b/landingPages/landing-utils/showSubjects.component.ts @@ -45,29 +45,32 @@ export class ShowSubjectsComponent { @Input() otherSubjects: Map; @Input() classifiedSubjects: Map; properties = properties; - specialSubjects = [ - "Physics::Optics", - "Astrophysics::Cosmology and Extragalactic Astrophysics", - "Computer Science::Information Theory", - "Physics::Accelerator Physics", - "Condensed Matter::Superconductivity", - "Physics::Atomic Physics", - "Computer Science::Robotics", - "Computer Science::Computer Science and Game Theory", - "Computer Science::Neural and Evolutionary Computation", - "Mathematics::Combinatorics", - "Mathematics::Probability", - "Computer Science::Operating Systems", - "lcsh:Medicine", - "lcsh:Science", - "lcsh:Biology (General)", - "lcsh:Chemistry", - "lcsh:Engineering (General). Civil engineering (General)", - "lcsh:Technology" - ]; + specialSubjects = []; // private showClassifiedSbj: boolean = false; constructor() { + if(properties.environment == 'development'){ + this.specialSubjects = [ + "Physics::Optics", + "Astrophysics::Cosmology and Extragalactic Astrophysics", + "Computer Science::Information Theory", + "Physics::Accelerator Physics", + "Condensed Matter::Superconductivity", + "Physics::Atomic Physics", + "Computer Science::Robotics", + "Computer Science::Computer Science and Game Theory", + "Computer Science::Neural and Evolutionary Computation", + "Mathematics::Combinatorics", + "Mathematics::Probability", + "Computer Science::Operating Systems", + "lcsh:Medicine", + "lcsh:Science", + "lcsh:Biology (General)", + "lcsh:Chemistry", + "lcsh:Engineering (General). Civil engineering (General)", + "lcsh:Technology" + ]; + } } ngOnInit() {