mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 02:04:13 +00:00
fix (#427)
This commit is contained in:
parent
aeddb39637
commit
6e1a6cf19b
@ -133,15 +133,22 @@ limitations under the License. -->
|
||||
}
|
||||
conditions.value = (items.value[0] && items.value[0].label) || "";
|
||||
if (!filters.id) {
|
||||
if (!filters.owner) {
|
||||
return;
|
||||
}
|
||||
state.service = filters.owner.serviceID;
|
||||
if (filters.owner.scope === EntityType[2].value) {
|
||||
state.endpoint = filters.owner.endpointID;
|
||||
}
|
||||
if (filters.owner?.scope === EntityType[3].value) {
|
||||
state.instance = filters.owner.serviceInstanceID;
|
||||
if (filters.owner) {
|
||||
state.service = filters.owner.serviceID;
|
||||
if (filters.owner.scope === EntityType[2].value) {
|
||||
state.endpoint = filters.owner.endpointID;
|
||||
}
|
||||
if (filters.owner.scope === EntityType[3].value) {
|
||||
state.instance = filters.owner.serviceInstanceID;
|
||||
}
|
||||
} else {
|
||||
state.service = selectorStore.currentService.id;
|
||||
if (dashboardStore.entity === EntityType[2].value) {
|
||||
state.endpoint = selectorStore.currentPod.id;
|
||||
}
|
||||
if (dashboardStore.entity === EntityType[3].value) {
|
||||
state.instance = selectorStore.currentPod.id;
|
||||
}
|
||||
}
|
||||
await queryTraces();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user