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

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new c1fbe9e  dashboard: fix lint issue
c1fbe9e is described below

commit c1fbe9e30b3a321f119ecd6e4f016ce87d579f0a
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
AuthorDate: Tue Jun 16 23:38:13 2020 +0530

    dashboard: fix lint issue
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
---
 src/views/dashboard/CapacityDashboard.vue | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/dashboard/CapacityDashboard.vue 
b/src/views/dashboard/CapacityDashboard.vue
index 4820d12..593c7a1 100644
--- a/src/views/dashboard/CapacityDashboard.vue
+++ b/src/views/dashboard/CapacityDashboard.vue
@@ -54,16 +54,16 @@
           :key="stat.type">
           <chart-card :loading="loading">
             <router-link :to="{ path: '/zone/' + zoneSelected.id }">
-            <div class="capacity-dashboard-chart-card-inner">
-              <h3>{{ $t(ts[stat.name]) }}</h3>
-              <a-progress
-                type="dashboard"
-                :status="getStatus(parseFloat(stat.percentused))"
-                :percent="parseFloat(stat.percentused)"
-                :format="percent => 
`${parseFloat(stat.percentused).toFixed(2)}%`"
-                :strokeColor="getStrokeColour(parseFloat(stat.percentused))"
-                :width="100" />
-            </div>
+              <div class="capacity-dashboard-chart-card-inner">
+                <h3>{{ $t(ts[stat.name]) }}</h3>
+                <a-progress
+                  type="dashboard"
+                  :status="getStatus(parseFloat(stat.percentused))"
+                  :percent="parseFloat(stat.percentused)"
+                  :format="percent => 
`${parseFloat(stat.percentused).toFixed(2)}%`"
+                  :strokeColor="getStrokeColour(parseFloat(stat.percentused))"
+                  :width="100" />
+              </div>
             </router-link>
             <template slot="footer"><center>{{ displayData(stat.name, 
stat.capacityused) }} / {{ displayData(stat.name, stat.capacitytotal) 
}}</center></template>
           </chart-card>
@@ -96,7 +96,7 @@
           </a-tooltip>
           <a-tooltip placement="bottom" 
class="capacity-dashboard-button-wrapper">
             <template slot="title">
-            {{ $t('label.view') + ' ' + $t('label.events') }}
+              {{ $t('label.view') + ' ' + $t('label.events') }}
             </template>
             <a-button shape="circle">
               <router-link :to="{ name: 'event' }">

Reply via email to