diff --git a/src/components/treebeard/ScriptsTree.jsx b/src/components/treebeard/ScriptsTree.jsx index 9c2c78c..f0b0910 100644 --- a/src/components/treebeard/ScriptsTree.jsx +++ b/src/components/treebeard/ScriptsTree.jsx @@ -97,7 +97,7 @@ class ScriptsTree extends React.Component { } render() { - if (this.state.data === []) { + if (this.state.data.length === 0) { return ; } else { return (