Datentypen in Prod DB vorbereiten für release #69

Merged
PxlLoewe merged 56 commits from staging into release 2025-07-18 20:05:13 +00:00
Showing only changes of commit a11c8683c4 - Show all commits

View File

@@ -139,7 +139,13 @@ export const Chat = () => {
<Fragment key={userId}>
<a
className={cn("indicator tab", selectedChat === userId && "tab-active")}
onClick={() => setSelectedChat(userId)}
onClick={() => {
if (selectedChat === userId) {
setSelectedChat(null);
return;
}
setSelectedChat(userId);
}}
>
{chat.name}
{chat.notification && <span className="indicator-item status status-info" />}