diff --git a/packages/hub-ui/src/client/components/dock/Dock.vue b/packages/hub-ui/src/client/components/dock/Dock.vue index c0b65686..83716027 100644 --- a/packages/hub-ui/src/client/components/dock/Dock.vue +++ b/packages/hub-ui/src/client/components/dock/Dock.vue @@ -45,7 +45,7 @@ const anchorEl = useTemplateRef('anchorEl') const safeArea = useSafeArea(anchorEl) function toNumber(value: string) { - const num = +value + const num = Number.parseFloat(value) if (Number.isNaN(num)) return 0 return num