You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by kd...@apache.org on 2020/02/09 11:06:59 UTC

[skywalking-rocketbot-ui] branch fix_Topology_ui_Service_SLA_show_error created (now d0c4e11)

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

kdump pushed a change to branch fix_Topology_ui_Service_SLA_show_error
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git.


      at d0c4e11  fix Topology ui Service SLA show error

This branch includes the following new commits:

     new d0c4e11  fix Topology ui Service SLA show error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-rocketbot-ui] 01/01: fix Topology ui Service SLA show error

Posted by kd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kdump pushed a commit to branch fix_Topology_ui_Service_SLA_show_error
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git

commit d0c4e11e4422d7bc1ff6a5e29057f3ea566fe04a
Author: x22x22 <ro...@gmail.com>
AuthorDate: Sun Feb 9 19:04:27 2020 +0800

    fix Topology ui Service SLA show error
    
    see https://github.com/apache/skywalking/issues/4273
---
 src/views/components/topology/topo-chart.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/components/topology/topo-chart.vue b/src/views/components/topology/topo-chart.vue
index fbcf8ee..ad08f9b 100644
--- a/src/views/components/topology/topo-chart.vue
+++ b/src/views/components/topology/topo-chart.vue
@@ -12,7 +12,7 @@ specific language governing permissions and * limitations under the License. */
 <template>
   <div>
     <div class="grey sm mb-5">{{ title }}</div>
-    <h5 class="mt-0 mb-0">{{ content.toFixed(2) }} {{ unit }}</h5>
+    <h5 class="mt-0 mb-0">{{ unit === '%' ? content.toFixed(2) * 100 : content.toFixed(2)  }} {{ unit }}</h5>
     <RkEcharts height="80px" :option="responseConfig" />
   </div>
 </template>