From c95c765812a1076f05540bea22ae64123715a887 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Thu, 21 Dec 2023 10:31:14 +0700 Subject: [PATCH] fix: added dialog confimation clean thread --- web/screens/Chat/ThreadList/index.tsx | 49 ++++++++++++++++++++------- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/web/screens/Chat/ThreadList/index.tsx b/web/screens/Chat/ThreadList/index.tsx index fa4fdd3e0f..fb6594fdb2 100644 --- a/web/screens/Chat/ThreadList/index.tsx +++ b/web/screens/Chat/ThreadList/index.tsx @@ -87,7 +87,7 @@ export default function ThreadList() {
onThreadClick(thread)} > @@ -110,15 +110,41 @@ export default function ThreadList() { >
-
cleanThread(thread.id)} - > - - - Clean thread - -
+ + +
+ + + Clean thread + +
+
+ + + Clean Thread + +

Are you sure you want to clean this thread?

+ +
+ + + + + + +
+
+
+
+
@@ -155,9 +181,6 @@ export default function ThreadList() {
- {/* {messages.length > 0 && ( - )} */} - {activeThreadId === thread.id && (