[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 266/459: include(s)
From: |
gnunet |
Subject: |
[reclaim-ui] 266/459: include(s) |
Date: |
Fri, 11 Jun 2021 23:25:58 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.
commit 5562fd363ff07ab853767584b74bf824eb42cdb9
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Thu Aug 6 09:29:06 2020 +0200
include(s)
---
src/app/open-id.service.ts | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index b1cfff9..a7d2282 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -154,7 +154,12 @@ export class OpenIdService {
var scopes = this.getRequestedScope();
var res = [];
for (var i = 0; i < scopes.length; i++) {
- res.push(this.scopesDescriptions[scopes[i]])
+ if (undefined === this.scopesDescriptions[scopes[i]])
+ {
+ res.push(scopes[i]);
+ } else {
+ res.push(this.scopesDescriptions[scopes[i]])
+ }
}
return res;
}
@@ -192,19 +197,19 @@ export class OpenIdService {
}
isProfileRequested(): boolean {
- return this.getRequestedScope().include("profile");
+ return this.getRequestedScope().includes("profile");
}
isEmailRequested(): boolean {
- return this.getRequestedScope().include("email");
+ return this.getRequestedScope().includes("email");
}
isPhoneRequested(): boolean {
- return this.getRequestedScope().include("phone");
+ return this.getRequestedScope().includes("phone");
}
isAddressRequested(): boolean {
- return this.getRequestedScope().include("address");
+ return this.getRequestedScope().includes("address");
}
getStandardProfileClaims(): Object {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 264/459: fix phone number claim name; pass claims parameter, (continued)
- [reclaim-ui] 264/459: fix phone number claim name; pass claims parameter, gnunet, 2021/06/11
- [reclaim-ui] 258/459: -minor, gnunet, 2021/06/11
- [reclaim-ui] 247/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 249/459: fix conflict, gnunet, 2021/06/11
- [reclaim-ui] 267/459: refactoring, style, gnunet, 2021/06/11
- [reclaim-ui] 276/459: more test, gnunet, 2021/06/11
- [reclaim-ui] 253/459: improve error/retry UX, gnunet, 2021/06/11
- [reclaim-ui] 232/459: update dependencies, gnunet, 2021/06/11
- [reclaim-ui] 278/459: fix display requested, gnunet, 2021/06/11
- [reclaim-ui] 281/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 266/459: include(s),
gnunet <=
- [reclaim-ui] 270/459: improve authz display, gnunet, 2021/06/11
- [reclaim-ui] 256/459: fix: ftbfs, gnunet, 2021/06/11
- [reclaim-ui] 261/459: towards cleanup of codebase and fixes, gnunet, 2021/06/11
- [reclaim-ui] 271/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 269/459: mark requested attributes, gnunet, 2021/06/11
- [reclaim-ui] 292/459: update, gnunet, 2021/06/11
- [reclaim-ui] 294/459: add padding, gnunet, 2021/06/11
- [reclaim-ui] 296/459: minor fix, gnunet, 2021/06/11
- [reclaim-ui] 272/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 300/459: fix class on missing non-standard claims display, gnunet, 2021/06/11