mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-26 01:25:15 +02:00
Feat/quick delete chat (#1302)
* feat:quick delete chat thread * update:pull request template * refactor bulk-deletion implementation * unset pull_request_changes * add border none for desktop support * unset marks when toggling bulk mode --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ const WorkspaceThread = {
|
||||
|
||||
delete: async function (clause = {}) {
|
||||
try {
|
||||
await prisma.workspace_threads.delete({
|
||||
await prisma.workspace_threads.deleteMany({
|
||||
where: clause,
|
||||
});
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user