Fixed indentation
This commit is contained in:
parent
ce0a7e3acc
commit
cb2926b904
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
let allConversationMessages = $state<DatabaseMessage[]>([]);
|
||||
|
||||
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();
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue