Fixed missing react key attributes
This commit is contained in:
parent
05f59d00f0
commit
403afbee0b
2 changed files with 6 additions and 6 deletions
|
@ -307,12 +307,12 @@ class PermissionEditorModal extends Modal {
|
||||||
renderBody() {
|
renderBody() {
|
||||||
return (
|
return (
|
||||||
<div className={cssStyle.container}>
|
<div className={cssStyle.container}>
|
||||||
<ContextDivider id={"test"} defaultValue={25} direction={"horizontal"}>
|
<ContextDivider id={"permission-editor"} defaultValue={25} direction={"horizontal"}>
|
||||||
<div key={"left"} className={cssStyle.contextContainer + " " + cssStyle.left}>
|
<div className={cssStyle.contextContainer + " " + cssStyle.left}>
|
||||||
<ActiveTabInfo events={this.modalEvents} />
|
<ActiveTabInfo events={this.modalEvents} />
|
||||||
<SideBar modalEvents={this.modalEvents} editorEvents={this.editorEvents} connection={this.connection} />
|
<SideBar modalEvents={this.modalEvents} editorEvents={this.editorEvents} connection={this.connection} />
|
||||||
</div>
|
</div>
|
||||||
<div key={"right"} className={cssStyle.contextContainer + " " + cssStyle.right}>
|
<div className={cssStyle.contextContainer + " " + cssStyle.right}>
|
||||||
<TabSelector events={this.modalEvents} />
|
<TabSelector events={this.modalEvents} />
|
||||||
<PermissionEditor events={this.editorEvents} connection={this.connection} />
|
<PermissionEditor events={this.editorEvents} connection={this.connection} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1192,9 +1192,9 @@ interface PermissionEditorState {
|
||||||
export class PermissionEditor extends React.Component<PermissionEditorProperties, PermissionEditorState> {
|
export class PermissionEditor extends React.Component<PermissionEditorProperties, PermissionEditorState> {
|
||||||
render() {
|
render() {
|
||||||
return [
|
return [
|
||||||
<MenuBar events={this.props.events} connection={this.props.connection} />,
|
<MenuBar key={"menu-bar"} events={this.props.events} connection={this.props.connection} />,
|
||||||
<PermissionTable events={this.props.events} />,
|
<PermissionTable key={"table"} events={this.props.events} />,
|
||||||
<div className={cssStyle.containerFooter}>
|
<div key={"footer"} className={cssStyle.containerFooter}>
|
||||||
<RefreshButton events={this.props.events} />
|
<RefreshButton events={this.props.events} />
|
||||||
</div>
|
</div>
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue