DESKTOP-NE65RNK\Citrus_limon 7 luni în urmă
părinte
comite
d97da94064
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/views/bot/cta/index.vue

+ 1 - 1
src/views/bot/cta/index.vue

@@ -44,7 +44,7 @@
           </template>
           <template v-slot:earningRate="{ row }">
             <span :class="{ 'primary-color': row.nowAmount - row.startAmount > 0, 'danger-color': row.nowAmount - row.startAmount < 0 }">
-              {{ (((row.nowAmount - row.startAmount) / row.startAmount || 1) * 100).toFixed(2) || 0 }}%
+              {{ (((row.nowAmount - row.startAmount) / (row.startAmount || 1)) * 100).toFixed(2) || 0 }}%
             </span>
           </template>
           <template v-slot:configs="{ row }">