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-banyandb.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f2f1fbd Fix dashboard disk N/A in standalone mode (#497)
6f2f1fbd is described below

commit 6f2f1fbdcad9009c0e8ef7b8536675fe8515bbbd
Author: Sylvie-Wxr <129717259+sylvie-...@users.noreply.github.com>
AuthorDate: Thu Jul 25 21:54:06 2024 -0700

    Fix dashboard disk N/A in standalone mode (#497)
---
 ui/src/views/Dashboard/index.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/Dashboard/index.vue b/ui/src/views/Dashboard/index.vue
index 3fa71a1e..681f0327 100644
--- a/ui/src/views/Dashboard/index.vue
+++ b/ui/src/views/Dashboard/index.vue
@@ -212,7 +212,7 @@ async function fetchNodes() {
             total: getLatestField(memoryData.total, row.node_id),
             used_percent: getLatestField(memoryData.used_percent, row.node_id),
         };
-        if (row.node_type == "data") {
+        if (row.node_type != "liason") {
             row.disk = {}
             for (const path in diskData) {
                 row.disk[path] = {

Reply via email to