diff --git a/surfsense_web/app/dashboard/page.tsx b/surfsense_web/app/dashboard/page.tsx index 4e19545a4..1418b8096 100644 --- a/surfsense_web/app/dashboard/page.tsx +++ b/surfsense_web/app/dashboard/page.tsx @@ -211,6 +211,7 @@ const DashboardPage = () => {
{searchSpaces && searchSpaces.map((space) => ( + { alt={space.name} className="h-full w-full object-cover grayscale duration-700 group-hover:grayscale-0" /> -
-
- - - - - -
+
- - - - - - - Delete Search Space - - Are you sure you want to delete "{space.name}"? This action cannot be undone. - All documents, chats, and podcasts in this search space will be permanently deleted. - - - - Cancel - handleDeleteSearchSpace(space.id)} - className="bg-destructive hover:bg-destructive/90" - > - Delete - - - - +
e.preventDefault()}> + + + + + + + Delete Search Space + + Are you sure you want to delete "{space.name}"? This action cannot be undone. + All documents, chats, and podcasts in this search space will be permanently deleted. + + + + Cancel + handleDeleteSearchSpace(space.id)} + className="bg-destructive hover:bg-destructive/90" + > + Delete + + + + +
@@ -298,6 +294,7 @@ const DashboardPage = () => { + ))} {searchSpaces.length === 0 && ( @@ -350,4 +347,4 @@ const DashboardPage = () => { ) } -export default DashboardPage \ No newline at end of file +export default DashboardPage