Quellcode durchsuchen

[FIX] total decimals

Gogs vor 8 Jahren
Ursprung
Commit
30026a5f8c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/components/CartTotal.vue

+ 1 - 1
src/components/CartTotal.vue

@@ -31,7 +31,7 @@
         },
         methods: {
             getTotal() {
-                return accounting.format(this.total, 2, '.', ',')
+                return accounting.format(this.total, this.decimals, '.', ',')
             },
             getSymbol() {
                 return this.symbol