Rename Value Panel
This commit is contained in:
@@ -6,7 +6,7 @@ import Delete from '@material-ui/icons/Delete'
|
|||||||
import ExpandMore from '@material-ui/icons/ExpandMore'
|
import ExpandMore from '@material-ui/icons/ExpandMore'
|
||||||
import NodeStats from './NodeStats'
|
import NodeStats from './NodeStats'
|
||||||
import Topic from './Topic'
|
import Topic from './Topic'
|
||||||
import ValueRendererPanel from './ValueRenderer/Panel'
|
import ValuePanel from './ValueRenderer/Panel'
|
||||||
import { AppState } from '../../reducers'
|
import { AppState } from '../../reducers'
|
||||||
import { bindActionCreators } from 'redux'
|
import { bindActionCreators } from 'redux'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ interface State {
|
|||||||
compareMessage?: q.Message
|
compareMessage?: q.Message
|
||||||
}
|
}
|
||||||
|
|
||||||
class Panel extends React.Component<Props, State> {
|
class ValuePanel extends React.Component<Props, State> {
|
||||||
constructor(props: Props) {
|
constructor(props: Props) {
|
||||||
super(props)
|
super(props)
|
||||||
this.state = { }
|
this.state = { }
|
||||||
@@ -80,7 +80,8 @@ class Panel extends React.Component<Props, State> {
|
|||||||
<ValueRenderer
|
<ValueRenderer
|
||||||
message={node.message}
|
message={node.message}
|
||||||
messageHistory={node.messageHistory}
|
messageHistory={node.messageHistory}
|
||||||
compareWith={this.state.compareMessage} />
|
compareWith={this.state.compareMessage}
|
||||||
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,4 +176,4 @@ const styles: StyleRulesCallback<string> = (theme: Theme) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withStyles(styles)(connect(mapStateToProps, mapDispatchToProps)(Panel))
|
export default withStyles(styles)(connect(mapStateToProps, mapDispatchToProps)(ValuePanel))
|
||||||
Reference in New Issue
Block a user