mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-15 01:33:54 +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() {
|
function handleActiveFilterState() {
|
||||||
switch (activeFilter.value) {
|
switch (activeFilter.value) {
|
||||||
case "traceId":
|
case "traceId":
|
||||||
console.log(traceId.value);
|
|
||||||
if (!traceId.value.length) return;
|
if (!traceId.value.length) return;
|
||||||
traceStore.setActiveFilter(activeFilter.value);
|
traceStore.setActiveFilter(activeFilter.value);
|
||||||
break
|
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() {
|
function searchTraces() {
|
||||||
|
Loading…
Reference in New Issue
Block a user