aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/UserInfoModal.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/dialogs/UserInfoModal.js')
-rw-r--r--ui-react/src/components/dialogs/UserInfoModal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-react/src/components/dialogs/UserInfoModal.js b/ui-react/src/components/dialogs/UserInfoModal.js
index 4b779dece..96eabb4c2 100644
--- a/ui-react/src/components/dialogs/UserInfoModal.js
+++ b/ui-react/src/components/dialogs/UserInfoModal.js
@@ -58,7 +58,7 @@ export default class UserInfoModal extends React.Component {
renderPermissions() {
if (this.state.userInfo["allPermissions"]) {
var listOfPermissions = this.state.userInfo["allPermissions"].map(function(perm) {
- return <Form.Control plaintext readOnly defaultValue={perm} />;
+ return <Form.Control key={perm} plaintext readOnly defaultValue={perm} />;
})
return listOfPermissions;
} else {