From 31ce3f175db31d7260a7ceef028f8ab873ee13ed Mon Sep 17 00:00:00 2001 From: Michael Breu <Michael.Breu@arctis.at> Date: Thu, 7 Jul 2022 14:52:06 +0200 Subject: [PATCH] Just prettier --- src/main/webapp/app/core/auth/auth-jwt.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/app/core/auth/auth-jwt.service.ts b/src/main/webapp/app/core/auth/auth-jwt.service.ts index 1684ed785..c9539f0dd 100644 --- a/src/main/webapp/app/core/auth/auth-jwt.service.ts +++ b/src/main/webapp/app/core/auth/auth-jwt.service.ts @@ -50,11 +50,10 @@ export class AuthServerProvider { saveRememberMe(rememberMe: boolean): void { this.localStorageService.store('rememberMe', rememberMe); } - + getRememberMe(): boolean { const remember = this.localStorageService.retrieve('rememberMe'); - if (!remember) - return false; + if (!remember) return false; return remember as boolean; } -- GitLab