From cb2926b90455d872c865c31be40b0a9da2e5ec93 Mon Sep 17 00:00:00 2001 From: Imad Saddik Date: Sun, 14 Dec 2025 22:01:12 +0100 Subject: [PATCH] Fixed indentation --- .../src/lib/components/app/chat/ChatForm/ChatForm.svelte | 4 ++-- .../app/chat/ChatMessages/ChatMessageAssistant.svelte | 6 +++--- .../components/app/chat/ChatMessages/ChatMessages.svelte | 4 ++-- .../src/lib/components/app/chat/ChatProcessingInfo.svelte | 4 ++-- .../lib/components/app/chat/ChatScreen/ChatScreen.svelte | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte b/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte index 3e7e6d2821..4af4101f0a 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte @@ -64,8 +64,8 @@ let recordingSupported = $state(false); let textareaRef: ChatFormTextarea | undefined = $state(undefined); let maxWidthClass = $derived( - currentConfig.responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS - ); + currentConfig.responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS + ); function getAcceptStringForFileType(fileType: FileTypeCategory): string { switch (fileType) { diff --git a/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte b/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte index 5185631d00..3ee9cefdad 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte @@ -101,10 +101,10 @@ return serverModel; }); - + let maxWidthClass = $derived( - config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS - ); + config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS + ); function handleCopyModel() { const model = displayedModel(); diff --git a/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte b/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte index 0f3b6de45d..1dc4a49a54 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte @@ -24,8 +24,8 @@ let allConversationMessages = $state([]); let maxWidthClass = $derived( - config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS - ); + config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS + ); function refreshAllMessages() { const conversation = activeConversation(); diff --git a/tools/server/webui/src/lib/components/app/chat/ChatProcessingInfo.svelte b/tools/server/webui/src/lib/components/app/chat/ChatProcessingInfo.svelte index c4d0be9f6e..ccb9f14013 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatProcessingInfo.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatProcessingInfo.svelte @@ -12,8 +12,8 @@ let processingDetails = $derived(processingState.getProcessingDetails()); let showSlotsInfo = $derived(isCurrentConversationLoading || config().keepStatsVisible); let maxWidthClass = $derived( - config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS - ); + config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS + ); // Track loading state reactively by checking if conversation ID is in loading conversations array $effect(() => { diff --git a/tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte b/tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte index 3ce9899c6c..552101e3c9 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte @@ -88,8 +88,8 @@ let isCurrentConversationLoading = $derived(isLoading()); let maxWidthClass = $derived( - config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS - ); + config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS + ); async function handleDeleteConfirm() { const conversation = activeConversation();