diff --git a/server/handles/index.go b/server/handles/index.go index 693b67c0..4e8babd2 100644 --- a/server/handles/index.go +++ b/server/handles/index.go @@ -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: "", })