You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ha...@apache.org on 2018/03/07 01:35:50 UTC
[incubator-skywalking-ui] 01/01: Fix mq trace issue
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch bug/trace
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git
commit 879ffcc7eb1cd0d0bf92c59c9308b6de8c3f1050
Author: hanahmily <ha...@gmail.com>
AuthorDate: Wed Mar 7 09:30:39 2018 +0800
Fix mq trace issue
---
src/components/TraceTable/index.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/components/TraceTable/index.js b/src/components/TraceTable/index.js
index 8b66c2b..d257527 100644
--- a/src/components/TraceTable/index.js
+++ b/src/components/TraceTable/index.js
@@ -32,7 +32,11 @@ class TraceTable extends PureComponent {
return (
<Collapse
bordered={false}
- onChange={(key) => { if (!spansContainer[key]) { this.props.onExpand(record.key, key); } }}
+ onChange={(key) => {
+ if (key.length > 0 && !spansContainer[key]) {
+ this.props.onExpand(record.key, key[0]);
+ }
+ }}
>
{traceIds.map((k) => {
return (
--
To stop receiving notification emails like this one, please contact
hanahmily@apache.org.