mirror of https://github.com/Xhofe/alist
fix: mark progress as done after clear (#3086)
parent
530e74c70b
commit
be8a9c5f07
|
@ -87,7 +87,7 @@ func ClearIndex(c *gin.Context) {
|
|||
search.Clear(c)
|
||||
search.WriteProgress(&model.IndexProgress{
|
||||
ObjCount: 0,
|
||||
IsDone: false,
|
||||
IsDone: true,
|
||||
LastDoneTime: nil,
|
||||
Error: "",
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue