consents wip
This commit is contained in:
parent
5ea204b003
commit
67b6c52c65
1 changed files with 8 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
import React, { useEffect, useState } from "react";
|
||||
import React, { useState } from "react";
|
||||
import { useParams } from "react-router-dom";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Button, Label, PageSection } from "@patternfly/react-core";
|
||||
import { Label } from "@patternfly/react-core";
|
||||
import { ListEmptyState } from "../components/list-empty-state/ListEmptyState";
|
||||
import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable";
|
||||
import { emptyFormatter } from "../util";
|
||||
|
@ -29,9 +29,11 @@ export const UserConsents = () => {
|
|||
|
||||
const [labelClicked, setLabelClicked] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
console.log(labelClicked)
|
||||
}, [labelClicked])
|
||||
// useEffect(() => {
|
||||
// console.log(labelClicked)
|
||||
// }, [key])
|
||||
|
||||
const [key, setKey] = useState(0);
|
||||
|
||||
const clientScopesRenderer = ({
|
||||
grantedClientScopes,
|
||||
|
@ -68,6 +70,7 @@ export const UserConsents = () => {
|
|||
<>
|
||||
<KeycloakDataTable
|
||||
loader={loader}
|
||||
key={key}
|
||||
ariaLabelKey="roles:roleList"
|
||||
searchPlaceholderKey=" "
|
||||
columns={[
|
||||
|
|
Loading…
Reference in a new issue