fixes preview thumbnail vanishing

This commit is contained in:
Christian Beutel
2025-04-11 16:40:09 +02:00
parent 7f1b5b5178
commit 95227624b8
2 changed files with 8 additions and 3 deletions

View File

@@ -228,6 +228,8 @@ export async function trails_create(trail: Trail, photos: File[], gpx: File | Bl
throw new APIError(r.status, response.message, response.detail)
}
model = await r.json();
return model;
}