aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-31 17:29:20 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-31 17:29:20 -0800
commit6bf7f61aecaaf32506f80242a5b3da8500b23a59 (patch)
tree330df8945c5bb1712fcb618c87947fdc7a275389
parentfe4e7d56aa4a6920282724336ec0ccd5f83b4570 (diff)
downloadtrackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.tar.gz
trackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.tar.bz2
trackermap-web-6bf7f61aecaaf32506f80242a5b3da8500b23a59.zip
Fix user list (fix #898)
-rw-r--r--modern/src/admin/UsersPage.js4
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>