mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 23:58:50 +01:00
🎨 feat: Enhance Import Conversations UI with loading state and new localization key
This commit is contained in:
parent
9495520f6f
commit
3bb23ba11d
2 changed files with 9 additions and 3 deletions
|
|
@ -119,11 +119,16 @@ function ImportConversations() {
|
|||
aria-labelledby="import-conversation-label"
|
||||
>
|
||||
{isUploading ? (
|
||||
<Spinner className="mr-1 w-4" />
|
||||
<>
|
||||
<Spinner className="mr-1 w-4" />
|
||||
<span>{localize('com_ui_importing')}</span>
|
||||
</>
|
||||
) : (
|
||||
<Import className="mr-1 flex h-4 w-4 items-center stroke-1" />
|
||||
<>
|
||||
<Import className="mr-1 flex h-4 w-4 items-center stroke-1" />
|
||||
<span>{localize('com_ui_import')}</span>
|
||||
</>
|
||||
)}
|
||||
<span>{localize('com_ui_import')}</span>
|
||||
</Button>
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue