mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
done with trace handling of active filters and updating trace results
This commit is contained in:
parent
2025fb407c
commit
075cc4f395
@ -279,10 +279,18 @@ function cancelSearch() {
|
||||
function handleActiveFilterState() {
|
||||
switch (activeFilter.value) {
|
||||
case "traceId":
|
||||
console.log(traceId.value);
|
||||
if (!traceId.value.length) return;
|
||||
traceStore.setActiveFilter(activeFilter.value);
|
||||
break
|
||||
case "tags":
|
||||
if (!tagsList.value.length) return;
|
||||
traceStore.setActiveFilter(activeFilter.value);
|
||||
break
|
||||
case "duration":
|
||||
if (!minTraceDuration.value.length || !maxTraceDuration.value.length)
|
||||
return;
|
||||
traceStore.setActiveFilter(activeFilter.value);
|
||||
break
|
||||
}
|
||||
}
|
||||
function searchTraces() {
|
||||
|
Loading…
Reference in New Issue
Block a user