diff options
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js b/gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js index e58c61a..d452f6d 100644 --- a/gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js +++ b/gui-clamp/ui-react/src/components/dialogs/UserInfoModal.js @@ -60,7 +60,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 { |