diff --git a/apps/dsp-app/src/app/main/action/login-form/login-form.component.html b/apps/dsp-app/src/app/main/action/login-form/login-form.component.html index c6a5ef81c0..c589aa1004 100644 --- a/apps/dsp-app/src/app/main/action/login-form/login-form.component.html +++ b/apps/dsp-app/src/app/main/action/login-form/login-form.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/apps/dsp-app/src/app/project/ontology/resource-class-info/resource-class-property-info/resource-class-property-info.component.ts b/apps/dsp-app/src/app/project/ontology/resource-class-info/resource-class-property-info/resource-class-property-info.component.ts index 4cf54e7a75..4194676a3a 100644 --- a/apps/dsp-app/src/app/project/ontology/resource-class-info/resource-class-property-info/resource-class-property-info.component.ts +++ b/apps/dsp-app/src/app/project/ontology/resource-class-info/resource-class-property-info/resource-class-property-info.component.ts @@ -153,11 +153,11 @@ export class ResourceClassPropertyInfoComponent this._applicationStateService.get('currentProjectOntologies').subscribe( (ontologies: ReadOntology[]) => { const onto = ontologies.find((i) => i.id === baseOnto); - if ( - !onto && - this.propDef.objectType === Constants.Region - ) { - this.propAttribute = 'Region'; + if ( !onto ) { + if (this.propDef.objectType === Constants.Region) { + this.propAttribute = 'Region'; + } // else no ontology found + } else { this.propAttribute = onto.classes[this.propDef.objectType].label;