diff --git a/src/webui/src/modules/detail/index.jsx b/src/webui/src/modules/detail/index.jsx index a9afdc29a..744b24ce8 100644 --- a/src/webui/src/modules/detail/index.jsx +++ b/src/webui/src/modules/detail/index.jsx @@ -59,14 +59,16 @@ export default class Detail extends React.Component { } render() { - if (this.state.notFound) { + let {notFound, readMe} = this.state; + + if (notFound) { return ; - } else if (isEmpty(this.state.readMe)) { + } else if (isEmpty(readMe)) { return ; } return (
- +
);