From 3665fc22d61678e5dd7419ff63ae9801b98f6832 Mon Sep 17 00:00:00 2001 From: Jan-Gerrit Goebel Date: Wed, 5 Jun 2024 09:24:59 +0200 Subject: [PATCH] Option to disable imprint --- src/app/app.component.html | 4 ++-- src/app/app.component.ts | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 1ccb306..42b2b85 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -6,9 +6,9 @@ -
+ -
+ diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 46af310..c5d753e 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -35,5 +35,10 @@ export class AppComponent { if (environment.privacypolicy && environment.privacypolicy != '') { this.privacyPolicy = environment.privacypolicy; } + + if (localStorage.getItem('score_server') != '') { + this.imprint = ''; + this.privacyPolicy = ''; + } } }