remodel message tab ui

This commit is contained in:
marlon-erler
2024-07-09 14:28:13 +02:00
parent 2d7b9e54da
commit f48ea3d5d1
6 changed files with 190 additions and 205 deletions
+5
View File
@@ -115,6 +115,11 @@ export const senderName = React.restoreState("sender-name", "");
export const selectedChat = new React.State<Chat | undefined>(undefined);
export function closeChat() {
selectedChat.value = undefined;
document.getElementById("settings-tab")?.scrollIntoView();
}
// INIT
if (serverAddressInput.value != "" && didRequestConnection.value == true) {
connect();