repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
composables
/
Utils.ts
diff --git
a/ui/web/src/composables/Utils.ts
b/ui/web/src/composables/Utils.ts
index 0c8a83996e905c7e046d624ad9a8bd64124d1df1..b1bebc92582b5ae64c82b6839ab244a05c0c6075 100644
(file)
--- a/
ui/web/src/composables/Utils.ts
+++ b/
ui/web/src/composables/Utils.ts
@@
-27,7
+27,7
@@
export const convertToInt = (value: unknown): number => {
}
let changedValue: number = value as number
if (typeof value === 'string') {
- changedValue = parseInt(value)
+ changedValue =
Number.
parseInt(value)
}
if (isNaN(changedValue)) {
throw new Error(`Cannot convert to integer: '${String(value)}'`)