Explorar o código

[FIX] separator in cart total component

Gogs %!s(int64=8) %!d(string=hai) anos
pai
achega
9774d4bd45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/CartTotal.vue

+ 1 - 1
src/components/CartTotal.vue

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