mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
fix errors
This commit is contained in:
parent
b01565b2b8
commit
e2fcee588b
@ -146,10 +146,10 @@ async function queryEvents() {
|
|||||||
let endpoint = state.endpoint.value,
|
let endpoint = state.endpoint.value,
|
||||||
instance = state.instance.value;
|
instance = state.instance.value;
|
||||||
if (dashboardStore.entity === EntityType[2].value) {
|
if (dashboardStore.entity === EntityType[2].value) {
|
||||||
endpoint = selectorStore.currentPod.id;
|
endpoint = selectorStore.currentPod && selectorStore.currentPod.id;
|
||||||
}
|
}
|
||||||
if (dashboardStore.entity === EntityType[3].value) {
|
if (dashboardStore.entity === EntityType[3].value) {
|
||||||
instance = selectorStore.currentPod.id;
|
instance = selectorStore.currentPod && selectorStore.currentPod.id;
|
||||||
}
|
}
|
||||||
if (!selectorStore.currentService) {
|
if (!selectorStore.currentService) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user