fix: mark progress as done after clear (#3086)
This commit is contained in:
@ -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: "",
|
||||
})
|
||||
|
Reference in New Issue
Block a user