@tagplus/components 4.7.8 → 4.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "4.7.8",
11
+ "version": "4.7.9",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -101,7 +101,7 @@ function removeSecondSeparator (input, locale) {
101
101
  // Separa a string pelo decimal
102
102
  const newInputParts = input.split(decimal)
103
103
 
104
- if (newInputParts.length > 0) {
104
+ if (newInputParts.length) {
105
105
  let newInput = ''
106
106
 
107
107
  // Percorre as partes dividas da string limpando tudo que nao for numerico depois do separador decimal