This is an automated email from the ASF dual-hosted git repository.

qiuxiafan 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 59c3c1ce8 fix ui for float value of 0 (#1011)
59c3c1ce8 is described below

commit 59c3c1ce8a3d0f11f5083196990a962ac35f9ba4
Author: eye-gu <[email protected]>
AuthorDate: Tue Mar 17 17:05:09 2026 +0800

    fix ui for float value of 0 (#1011)
---
 ui/src/components/Read/index.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/src/components/Read/index.vue b/ui/src/components/Read/index.vue
index a26f848ce..753c67d82 100644
--- a/ui/src/components/Read/index.vue
+++ b/ui/src/components/Read/index.vue
@@ -238,7 +238,7 @@ orderBy:
         if (tag.value[tagType[type]] === null) {
           dataItem[tag.key] = 'Null';
         } else {
-          dataItem[tag.key] = tag.value[tagType[type]]?.value || 
tag.value[tagType[type]];
+          dataItem[tag.key] = tag.value[tagType[type]]?.value ?? 
tag.value[tagType[type]];
         }
       }
       if (data.type === CatalogToGroupType.CATALOG_MEASURE && 
tableFields.length > 0) {
@@ -251,7 +251,7 @@ orderBy:
           if (field.value[fieldTypes[fieldType]] === null) {
             dataItem[name] = 'Null';
           } else {
-            dataItem[name] = field.value[fieldTypes[fieldType]]?.value || 
field.value[fieldTypes[fieldType]];
+            dataItem[name] = field.value[fieldTypes[fieldType]]?.value ?? 
field.value[fieldTypes[fieldType]];
           }
         });
       }

Reply via email to