fix: modal positioning (#5796)

This commit is contained in:
Calum H.
2026-04-13 16:01:52 +02:00
committed by GitHub
parent 0713814d0c
commit c1b0e4a692
4 changed files with 39 additions and 28 deletions

View File

@@ -849,6 +849,12 @@ async function confirmResetToOnboarding() {
try {
isResettingToOnboarding.value = true
await client.archon.servers_v1.resetToOnboarding(serverId, worldId.value)
modrinthServersConsole.clear()
try {
await client.kyros.logs_v1.clear()
} catch (error) {
console.error('Failed to clear server logs:', error)
}
server.value.flows = { intro: true }
await Promise.all([
queryClient.invalidateQueries({ queryKey: ['servers', 'detail', serverId] }),