type pages and utilities

This commit is contained in:
2026-04-28 03:08:59 +03:00
parent 906120e6e6
commit 2589b695f1
17 changed files with 49 additions and 49 deletions
@@ -37,7 +37,7 @@ export function ServerDashboardSection() {
const transcodes = activeSessions.filter(s => s.PlayState?.PlayMethod === 'Transcode')
const uptime = useMemo(() => {
const start = (info as any)?.ServerStartTime
const start = info?.ServerStartTime
if (!start) return null
const ms = Date.now() - new Date(start).getTime()
const days = Math.floor(ms / 86_400_000)