This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 8526536 fix: Solve the problem that traceId stored in localstorage
cannot be deleted (#475)
8526536 is described below
commit 8526536a4b5b0bd59badedfca94bf30642e9c6f6
Author: horber <[email protected]>
AuthorDate: Wed Apr 21 20:42:05 2021 +0800
fix: Solve the problem that traceId stored in localstorage cannot be
deleted (#475)
Co-authored-by: Qiuxia Fan <[email protected]>
---
src/views/components/trace/trace-search.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/views/components/trace/trace-search.vue
b/src/views/components/trace/trace-search.vue
index d87ad7c..9b3dde7 100644
--- a/src/views/components/trace/trace-search.vue
+++ b/src/views/components/trace/trace-search.vue
@@ -233,8 +233,9 @@ limitations under the License. -->
}
if (this.traceId) {
temp.traceId = this.traceId;
- localStorage.setItem('traceId', this.traceId);
}
+ localStorage.setItem('traceId', this.traceId);
+
if (this.tagsList.length) {
const tagsMap = this.tagsList.map((item: string) => {
const key = item.substring(0, item.indexOf('='));