Fixed missing react key attributes
parent
d7185497fc
commit
be1065d210
|
@ -307,12 +307,12 @@ class PermissionEditorModal extends Modal {
|
|||
renderBody() {
|
||||
return (
|
||||
<div className={cssStyle.container}>
|
||||
<ContextDivider id={"test"} defaultValue={25} direction={"horizontal"}>
|
||||
<div key={"left"} className={cssStyle.contextContainer + " " + cssStyle.left}>
|
||||
<ContextDivider id={"permission-editor"} defaultValue={25} direction={"horizontal"}>
|
||||
<div className={cssStyle.contextContainer + " " + cssStyle.left}>
|
||||
<ActiveTabInfo events={this.modalEvents} />
|
||||
<SideBar modalEvents={this.modalEvents} editorEvents={this.editorEvents} connection={this.connection} />
|
||||
</div>
|
||||
<div key={"right"} className={cssStyle.contextContainer + " " + cssStyle.right}>
|
||||
<div className={cssStyle.contextContainer + " " + cssStyle.right}>
|
||||
<TabSelector events={this.modalEvents} />
|
||||
<PermissionEditor events={this.editorEvents} connection={this.connection} />
|
||||
</div>
|
||||
|
|
|
@ -1192,9 +1192,9 @@ interface PermissionEditorState {
|
|||
export class PermissionEditor extends React.Component<PermissionEditorProperties, PermissionEditorState> {
|
||||
render() {
|
||||
return [
|
||||
<MenuBar events={this.props.events} connection={this.props.connection} />,
|
||||
<PermissionTable events={this.props.events} />,
|
||||
<div className={cssStyle.containerFooter}>
|
||||
<MenuBar key={"menu-bar"} events={this.props.events} connection={this.props.connection} />,
|
||||
<PermissionTable key={"table"} events={this.props.events} />,
|
||||
<div key={"footer"} className={cssStyle.containerFooter}>
|
||||
<RefreshButton events={this.props.events} />
|
||||
</div>
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue