mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-27 05:53:11 +00:00
done with trace handling of active filters and updating trace results
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user