mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 08:34:52 +00:00
fix: improve UI and lint fix
This commit is contained in:
@@ -189,8 +189,17 @@ export const ImportTab = () => {
|
||||
onClick={() => {
|
||||
fileUploadRef?.current?.click();
|
||||
}}
|
||||
>
|
||||
>
|
||||
{fileUploadRef?.current?.value ? (
|
||||
<span className="text-green text-sm">
|
||||
{fileUploadRef?.current?.value.split("\\").pop()}
|
||||
</span>
|
||||
) : (
|
||||
<>
|
||||
Upload export file
|
||||
<FontAwesomeIcon icon={faUpload} size="xs" />
|
||||
</>
|
||||
)}
|
||||
</IconButton>
|
||||
</>
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user