Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 (#2390)
* Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 18.0.0-dev.8 to 18.0.0-dev.10. - [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases) - [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json) - [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v18.0.0-dev.8...v18.0.0-dev.10) --- updated-dependencies: - dependency-name: "@keycloak/keycloak-admin-client" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
49eb22a1f5
commit
525d90c234
3 changed files with 11 additions and 9 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -7,7 +7,7 @@
|
|||
"name": "keycloak-admin-ui",
|
||||
"license": "Apache",
|
||||
"dependencies": {
|
||||
"@keycloak/keycloak-admin-client": "^18.0.0-dev.8",
|
||||
"@keycloak/keycloak-admin-client": "^18.0.0-dev.10",
|
||||
"@patternfly/patternfly": "^4.185.1",
|
||||
"@patternfly/react-code-editor": "^4.43.14",
|
||||
"@patternfly/react-core": "^4.202.14",
|
||||
|
@ -3442,9 +3442,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@keycloak/keycloak-admin-client": {
|
||||
"version": "18.0.0-dev.8",
|
||||
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.8.tgz",
|
||||
"integrity": "sha512-nEQghUmW913zAD6IunqWQaK9LVBe4T1i7c8eWcrx/l4BYkoo+pmLKCFqf+peJINgtR1o/8K0br+Y6vuZmKD6uQ==",
|
||||
"version": "18.0.0-dev.10",
|
||||
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.10.tgz",
|
||||
"integrity": "sha512-hkttSZx2VCDK6cQ+PWb7FlvmK1C7iwIxDC4Lh92EQh9SRzYLcM/BtxiFZFlq7fyAkQaiOGTUks+EzGXSIlPlAQ==",
|
||||
"dependencies": {
|
||||
"axios": "^0.26.1",
|
||||
"camelize-ts": "^1.0.8",
|
||||
|
@ -24330,9 +24330,9 @@
|
|||
}
|
||||
},
|
||||
"@keycloak/keycloak-admin-client": {
|
||||
"version": "18.0.0-dev.8",
|
||||
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.8.tgz",
|
||||
"integrity": "sha512-nEQghUmW913zAD6IunqWQaK9LVBe4T1i7c8eWcrx/l4BYkoo+pmLKCFqf+peJINgtR1o/8K0br+Y6vuZmKD6uQ==",
|
||||
"version": "18.0.0-dev.10",
|
||||
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.10.tgz",
|
||||
"integrity": "sha512-hkttSZx2VCDK6cQ+PWb7FlvmK1C7iwIxDC4Lh92EQh9SRzYLcM/BtxiFZFlq7fyAkQaiOGTUks+EzGXSIlPlAQ==",
|
||||
"requires": {
|
||||
"axios": "^0.26.1",
|
||||
"camelize-ts": "^1.0.8",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@keycloak/keycloak-admin-client": "^18.0.0-dev.8",
|
||||
"@keycloak/keycloak-admin-client": "^18.0.0-dev.10",
|
||||
"@patternfly/patternfly": "^4.185.1",
|
||||
"@patternfly/react-code-editor": "^4.43.14",
|
||||
"@patternfly/react-core": "^4.202.14",
|
||||
|
|
|
@ -108,7 +108,9 @@ export default function PolicyDetails() {
|
|||
// remove entries that only have the boolean set and no id
|
||||
policy.groups = policy.groups?.filter((g) => g.id);
|
||||
policy.clientScopes = policy.clientScopes?.filter((c) => c.id);
|
||||
policy.roles = policy.roles?.filter((r) => r.id);
|
||||
policy.roles = policy.roles
|
||||
?.filter((r) => r.id)
|
||||
.map((r) => ({ ...r, required: r.required || false }));
|
||||
|
||||
try {
|
||||
if (policyId) {
|
||||
|
|
Loading…
Reference in a new issue