Explorar el Código

fix: Resolved the issue of duplicate display of supported file types during text file upload (#2241)

Co-authored-by: hbc <hbc@hbc-iMac.local>
tags/0.5.3
Moonlit hace 1 año
padre
commit
d8f8afcbd0
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      web/app/components/datasets/create/file-uploader/index.tsx

+ 2
- 0
web/app/components/datasets/create/file-uploader/index.tsx Ver fichero



return item return item
}) })
res = res.map(item => item.toLowerCase())
res = res.filter((item, index, self) => self.indexOf(item) === index)


return res.map(item => item.toUpperCase()).join(language !== LanguagesSupportedUnderscore[1] ? ', ' : '、 ') return res.map(item => item.toUpperCase()).join(language !== LanguagesSupportedUnderscore[1] ? ', ' : '、 ')
})() })()

Cargando…
Cancelar
Guardar