diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-31 17:29:20 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-31 17:29:20 -0800 |
commit | 6bf7f61aecaaf32506f80242a5b3da8500b23a59 (patch) | |
tree | 330df8945c5bb1712fcb618c87947fdc7a275389 /modern/src | |
parent | fe4e7d56aa4a6920282724336ec0ccd5f83b4570 (diff) | |
download | trackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.tar.gz trackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.tar.bz2 trackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.zip |
Fix user list (fix #898)
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/admin/UsersPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/admin/UsersPage.js b/modern/src/admin/UsersPage.js index bd2a0033..55a6761f 100644 --- a/modern/src/admin/UsersPage.js +++ b/modern/src/admin/UsersPage.js @@ -51,8 +51,8 @@ const UsersView = ({ updateTimestamp, onMenuClick }) => { </TableCell> <TableCell>{item.name}</TableCell> <TableCell>{item.email}</TableCell> - <TableCell>{formatBoolean(item, 'administrator', t)}</TableCell> - <TableCell>{formatBoolean(item, 'disabled', t)}</TableCell> + <TableCell>{formatBoolean(item['administrator'], t)}</TableCell> + <TableCell>{formatBoolean(item['disabled'], t)}</TableCell> </TableRow> ))} </TableBody> |