fix: properly implement setup version

This commit is contained in:
ThaUnknown 2025-04-28 21:56:46 +02:00
parent 7c9ffab987
commit b880c99be3
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "6.0.19",
"version": "6.0.20",
"license": "BUSL-1.1",
"private": true,
"packageManager": "pnpm@9.14.4",

View file

@ -13,6 +13,7 @@
import { Check, X } from 'lucide-svelte'
import { goto } from '$app/navigation'
import { SETUP_VERSION } from '$lib'
import { Badge } from '$lib/components/ui/badge'
import { Button } from '$lib/components/ui/button'
import * as Tooltip from '$lib/components/ui/tooltip'
@ -25,7 +26,7 @@
$: settled = Promise.allSettled(checks.map(({ promise }) => promise))
function checkNext () {
if (step === 2) localStorage.setItem('setup-finished', '1')
if (step === 2) localStorage.setItem('setup-finished', SETUP_VERSION.toString())
goto(`../${NEXT[step]}`)
}
</script>