mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: dedupe file extension list in import dropzone label
This commit is contained in:
@@ -59,9 +59,9 @@ export const UploadBackupZone = ({onSuccessAction, database}: UploadRetentionZon
|
||||
|
||||
const acceptDbImportFiles = getFileHeadersBasedOnDbms(database.dbms)
|
||||
|
||||
const fileKindDescription = Object.values(acceptDbImportFiles)
|
||||
.flat()
|
||||
.join(", ");
|
||||
const fileKindDescription = Array.from(
|
||||
new Set(Object.values(acceptDbImportFiles).flat())
|
||||
).join(", ");
|
||||
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user