File tree Expand file tree Collapse file tree
frontend/app/src/routes/runs/[id]
src/pypsa_app/backend/api/routes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 529529 <span class =" text-sm font-medium" >Files</span >
530530 {#if outputsLoading }
531531 <Loader2 class =" h-3.5 w-3.5 animate-spin text-muted-foreground" />
532- {:else if outputsError }
533- <span class ="text-xs text-destructive" >{outputsError }</span >
534532 {:else if outputsUnavailable }
535533 <span class =" text-xs text-muted-foreground" >no longer available</span >
536534 {:else if outputFiles && outputFiles .length > 0 }
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ async def get_public_run(run: Run = Depends(require_public_run)) -> JSONResponse
3838 )
3939
4040 is_terminal = run .status in RUN_TERMINAL_STATUSES
41- cache_control = (
42- "public, max-age=300" if is_terminal else "no-cache"
43- )
41+ cache_control = "public, max-age=300" if is_terminal else "no-cache"
4442
4543 return JSONResponse (
4644 content = data .model_dump (mode = "json" ),
You can’t perform that action at this time.
0 commit comments