From 9adb230d60e3a36310d40d6e9b42de6e0d7b2819 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 15 May 2021 09:42:35 +0200 Subject: [PATCH] Can access user account settings from administrators list --- src/ui/routes/AccountsListRoute.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/ui/routes/AccountsListRoute.tsx b/src/ui/routes/AccountsListRoute.tsx index de56389..b52b7f4 100644 --- a/src/ui/routes/AccountsListRoute.tsx +++ b/src/ui/routes/AccountsListRoute.tsx @@ -12,11 +12,14 @@ import { TableRow, TableCell, TableBody, + IconButton, } from "@material-ui/core"; import React from "react"; import { AccountHelper, AdminAccount } from "../../helpers/AccountHelper"; import { AsyncWidget } from "../widgets/AsyncWidget"; import { TimestampWidget } from "../widgets/TimestampWidget"; +import SettingsIcon from "@material-ui/icons/Settings"; +import { Link } from "react-router-dom"; export class AccountsListRoute extends React.Component< {}, @@ -62,6 +65,8 @@ export class AccountsListRoute extends React.Component< Account creation + Roles + @@ -73,6 +78,16 @@ export class AccountsListRoute extends React.Component< + + {row.roles.length} + + + + + + + + ))}