Przeglądaj źródła

[FIX] separator in cart total component

Gogs 8 lat temu
rodzic
commit
9774d4bd45
1 zmienionych plików z 1 dodań i 1 usunięć
  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