This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 0f43194 fix: query logs with the specific service ID (#165)
0f43194 is described below
commit 0f4319499a2eda9563db7f4912aeb97b18b22437
Author: Fine0830 <[email protected]>
AuthorDate: Fri Sep 30 10:25:05 2022 +0800
fix: query logs with the specific service ID (#165)
---
src/views/dashboard/related/log/Header.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/dashboard/related/log/Header.vue
b/src/views/dashboard/related/log/Header.vue
index c93770e..ecdbb71 100644
--- a/src/views/dashboard/related/log/Header.vue
+++ b/src/views/dashboard/related/log/Header.vue
@@ -193,22 +193,22 @@ async function init() {
state.endpoint = { value: "0", label: "All" };
}
-function fetchSelectors() {
+async function fetchSelectors() {
if (dashboardStore.entity === EntityType[1].value) {
- getServices();
+ await getServices();
return;
}
if (dashboardStore.entity === EntityType[2].value) {
- getInstances();
+ await getInstances();
return;
}
if (dashboardStore.entity === EntityType[3].value) {
- getEndpoints();
+ await getEndpoints();
return;
}
if (dashboardStore.entity === EntityType[0].value) {
- getInstances();
- getEndpoints();
+ await getInstances();
+ await getEndpoints();
}
}