mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3098 from omnivore-app/fix/web-update-import-limit
Bump up the CSV import limit
This commit is contained in:
commit
a227d322fa
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