mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2026-05-06 23:31:59 +08:00
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