diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index 7a712b90..02594677 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -15,14 +15,12 @@ import {Location} from "@angular/common"; import {MetricsService} from "../../services/metrics.service"; import {RelationResult, ResultPreview} from "../../utils/result-preview/result-preview"; import {IndexInfoService} from "../../utils/indexInfo.service"; -import {FormBuilder} from "@angular/forms"; import {Identifier, StringUtils} from "../../utils/string-utils.class"; import {properties} from "../../../../environments/environment"; import {ISVocabulariesService} from "../../utils/staticAutoComplete/ISVocabularies.service"; import {Subscriber} from "rxjs"; import {Session} from "../../login/utils/helper.class"; import {AnnotationComponent} from "../annotation/annotation.component"; -import {Session, User} from "../../login/utils/helper.class"; @Component({ @@ -105,7 +103,7 @@ export class ResultLandingComponent { public pidsArrayString: string = ""; public identifier: Identifier; - public user: User; + public isLoggedIn: boolean = Session.isLoggedIn(); public pid: string; @ViewChild("annotation") annotation: AnnotationComponent;