-
+
{showArchived
? t("no_archived_chats") || "No archived chats"
diff --git a/surfsense_web/components/new-chat/chat-share-button.tsx b/surfsense_web/components/new-chat/chat-share-button.tsx
index a40813e29..e0b28f2a1 100644
--- a/surfsense_web/components/new-chat/chat-share-button.tsx
+++ b/surfsense_web/components/new-chat/chat-share-button.tsx
@@ -2,7 +2,7 @@
import { useQueryClient } from "@tanstack/react-query";
import { useAtomValue, useSetAtom } from "jotai";
-import { Loader2, Lock, Users } from "lucide-react";
+import { Loader2, User, Users } from "lucide-react";
import { useCallback, useState } from "react";
import { toast } from "sonner";
import { currentThreadAtom, setThreadVisibilityAtom } from "@/atoms/chat/current-thread.atom";
@@ -25,13 +25,13 @@ const visibilityOptions: {
value: ChatVisibility;
label: string;
description: string;
- icon: typeof Lock;
+ icon: typeof User;
}[] = [
{
value: "PRIVATE",
label: "Private",
description: "Only you can access this chat",
- icon: Lock,
+ icon: User,
},
{
value: "SEARCH_SPACE",
@@ -95,7 +95,7 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS
return null;
}
- const CurrentIcon = currentVisibility === "PRIVATE" ? Lock : Users;
+ const CurrentIcon = currentVisibility === "PRIVATE" ? User : Users;
return (
@@ -145,7 +145,7 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS
onClick={() => handleVisibilityChange(option.value)}
disabled={isUpdating}
className={cn(
- "w-full flex items-start gap-2.5 px-2.5 py-2 rounded-md transition-all",
+ "w-full flex items-center gap-2.5 px-2.5 py-2 rounded-md transition-all",
"hover:bg-accent/50 cursor-pointer",
"focus:outline-none",
isSelected && "bg-accent/80"
@@ -153,13 +153,13 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS
>