fix: mark progress as done after clear (#3086)
This commit is contained in:
parent
530e74c70b
commit
be8a9c5f07
@ -87,7 +87,7 @@ func ClearIndex(c *gin.Context) {
|
|||||||
search.Clear(c)
|
search.Clear(c)
|
||||||
search.WriteProgress(&model.IndexProgress{
|
search.WriteProgress(&model.IndexProgress{
|
||||||
ObjCount: 0,
|
ObjCount: 0,
|
||||||
IsDone: false,
|
IsDone: true,
|
||||||
LastDoneTime: nil,
|
LastDoneTime: nil,
|
||||||
Error: "",
|
Error: "",
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user