mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-05 09:55:25 +00:00
fix: query logs with the specific service ID (#165)
This commit is contained in:
parent
5bb58a00cd
commit
0f4319499a
@ -193,22 +193,22 @@ async function init() {
|
|||||||
state.endpoint = { value: "0", label: "All" };
|
state.endpoint = { value: "0", label: "All" };
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetchSelectors() {
|
async function fetchSelectors() {
|
||||||
if (dashboardStore.entity === EntityType[1].value) {
|
if (dashboardStore.entity === EntityType[1].value) {
|
||||||
getServices();
|
await getServices();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dashboardStore.entity === EntityType[2].value) {
|
if (dashboardStore.entity === EntityType[2].value) {
|
||||||
getInstances();
|
await getInstances();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dashboardStore.entity === EntityType[3].value) {
|
if (dashboardStore.entity === EntityType[3].value) {
|
||||||
getEndpoints();
|
await getEndpoints();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dashboardStore.entity === EntityType[0].value) {
|
if (dashboardStore.entity === EntityType[0].value) {
|
||||||
getInstances();
|
await getInstances();
|
||||||
getEndpoints();
|
await getEndpoints();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user