Skip to content

Commit

Permalink
mixpanel: fix doc_collections_total of localdocs_startup (#2270)
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Van Bortel <[email protected]>
  • Loading branch information
cebtenzzre committed Apr 26, 2024
1 parent a141936 commit 6f38fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt4all-chat/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ int Database::addCurrentFolders()

updateIndexingStatus();

return nAdded;
return collections.count() + nAdded;
}

bool Database::addFolder(const QString &collection, const QString &path, bool fromDb)
Expand Down

0 comments on commit 6f38fde

Please sign in to comment.