adds difficulty display

This commit is contained in:
Christian Beutel
2024-03-14 20:04:43 +01:00
parent 54613ee7db
commit e6728ca097
8 changed files with 59 additions and 27 deletions

View File

@@ -162,6 +162,9 @@ export async function trails_show(id: string, loadGPX?: boolean, f: (url: Reques
}
if (loadGPX) {
if(!response.expand) {
response.expand = {}
}
const gpxData: string = await fetchGPX(response, f);
response.expand.gpx_data = gpxData;
}