projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
conflicts
[arvados-workbench2.git]
/
src
/
services
/
auth-service
/
auth-service.ts
diff --git
a/src/services/auth-service/auth-service.ts
b/src/services/auth-service/auth-service.ts
index b512fb24c32d0e435e2f4be78d918c9fc49e1d8d..98c0321598090b11002375823fba7ffa1a374aee 100644
(file)
--- a/
src/services/auth-service/auth-service.ts
+++ b/
src/services/auth-service/auth-service.ts
@@
-52,7
+52,7
@@
export class AuthService {
}
public getIsAdmin(): boolean {
- return
!!localStorage.getItem(USER_IS_ADMIN)
;
+ return
localStorage.getItem(USER_IS_ADMIN) === 'true'
;
}
public getUser(): User | undefined {