Skip to content

Commit 12d5606

Browse files
committed
Fix typo toExlude
1 parent 60e3353 commit 12d5606

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web/client/components/data/identify/viewers/row/PropertiesViewer.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ class PropertiesViewer extends React.Component {
4444
}
4545
};
4646

47-
4847
getBodyItems = () => {
4948
return Object.keys(this.props)
50-
.filter(this.toExlude)
49+
.filter(this.toExclude)
5150
.map((key) => {
5251
const val = this.renderProperty(this.props[key]);
5352
return <p key={key} style={this.props.listStyle}><b>{key}</b> {containsHTML(val) ? <span dangerouslySetInnerHTML={{__html: val}}/> : val}</p>;
@@ -87,6 +86,7 @@ class PropertiesViewer extends React.Component {
8786
}
8887
return JSON.stringify(prop);
8988
};
89+
9090
render() {
9191
return (
9292
<div style={this.props.componentStyle}>
@@ -96,7 +96,7 @@ class PropertiesViewer extends React.Component {
9696
);
9797
}
9898

99-
toExlude = (propName) => {
99+
toExclude = (propName) => {
100100
return alwaysExcluded
101101
.concat(this.props.exclude)
102102
.indexOf(propName) === -1;

0 commit comments

Comments
 (0)