fixed preload resumption

This commit is contained in:
ston1th 2022-08-18 23:10:55 +02:00
commit caf12d9ca5
5 changed files with 49 additions and 5 deletions

View file

@ -61,6 +61,7 @@ type file struct {
Anchor string
Status int
Prio int
Errc int
Running bool
}
@ -138,6 +139,7 @@ func getPreloads(path string, fs *fs.FS) (dc dirContents) {
URI: template.HTML(p.Name),
Status: p.Status,
Prio: p.Prio,
Errc: p.Errc,
Running: p.Running,
})
}