mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 17:24:57 +02:00
ui : fix formatting in drag-and-drop import
This commit is contained in:
@@ -51,8 +51,8 @@
|
||||
</Dialog.Title>
|
||||
|
||||
<Dialog.Description>
|
||||
{conversations.length} conversation{conversations.length === 1 ? '' : 's'} imported.
|
||||
Select one to open it.
|
||||
{conversations.length} conversation{conversations.length === 1 ? '' : 's'} imported. Select
|
||||
one to open it.
|
||||
</Dialog.Description>
|
||||
</Dialog.Header>
|
||||
|
||||
|
||||
@@ -53,7 +53,10 @@ export function useChatScreenDragAndDrop(options: UseChatScreenDragAndDropOption
|
||||
// Defer import files (conversation/settings exports) to the global
|
||||
// drag-and-drop import handler instead of attaching them to a message.
|
||||
if (files.some(isImportFileByExtension)) {
|
||||
console.log('[chat-drop] deferring import files:', files.map((f) => f.name));
|
||||
console.log(
|
||||
'[chat-drop] deferring import files:',
|
||||
files.map((f) => f.name)
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user