{ this.content = ref; }}>
+
+ {this.props.content.logs.endTop ? 'No more logs.' : 'Waiting for server...'}
+
{this.props.content.logs.chunks.map((c, index) => (
@@ -302,6 +317,7 @@ class Logs extends Component {
))}
+ {this.props.content.logs.endBottom ||
Waiting for server...
}
);
}
diff --git a/dashboard/assets/package.json b/dashboard/assets/package.json
index 5ac179b9ef..fb1a68e5b5 100644
--- a/dashboard/assets/package.json
+++ b/dashboard/assets/package.json
@@ -13,6 +13,7 @@
"babel-runtime": "^6.26.0",
"classnames": "^2.2.5",
"css-loader": "^0.28.9",
+ "escape-html": "^1.0.3",
"eslint": "^4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-loader": "^2.0.0",
@@ -41,7 +42,7 @@
"scripts": {
"build": "NODE_ENV=production webpack",
"stats": "webpack --profile --json > stats.json",
- "dev": "webpack-dev-server --port 8081",
- "flow": "flow-typed install"
+ "dev": "webpack-dev-server --port 8081",
+ "flow": "flow-typed install"
}
}
diff --git a/dashboard/assets/yarn.lock b/dashboard/assets/yarn.lock
index 0098d202ba..10277c9882 100644
--- a/dashboard/assets/yarn.lock
+++ b/dashboard/assets/yarn.lock
@@ -2248,7 +2248,7 @@ es6-weak-map@^2.0.1:
es6-iterator "^2.0.1"
es6-symbol "^3.1.1"
-escape-html@~1.0.3:
+escape-html@^1.0.3, escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"