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:
Imtiaz Mehmood
2024-05-08 23:10:00 +05:00
committed by GitHub
parent 79ea15e074
commit ad778dd36d
5 changed files with 164 additions and 14 deletions

View File

@@ -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;