mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Bump up the CSV import limit
This commit is contained in:
parent
6d11aea5a7
commit
9219e94c98
1 changed files with 2 additions and 2 deletions
|
|
@ -135,10 +135,10 @@ export function UploadModal(props: UploadModalProps): JSX.Element {
|
|||
try {
|
||||
const csvData = await validateCsvFile(file.file)
|
||||
urlCount = csvData.data.length
|
||||
if (urlCount > 500) {
|
||||
if (urlCount > 5000) {
|
||||
return {
|
||||
message:
|
||||
'Due to an increase in traffic we are limiting CSV imports to 500 items.',
|
||||
'Due to an increase in traffic we are limiting CSV imports to 5000 items.',
|
||||
}
|
||||
}
|
||||
if (csvData.inValidData.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue