fix: mark progress as done after clear (#3086)

pull/3099/head
BoYanZh 2023-01-18 09:39:32 +08:00 committed by GitHub
parent 530e74c70b
commit be8a9c5f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: "",
})