sonar 41 left
This commit is contained in:
@@ -266,7 +266,7 @@ export async function uploadFailedSecond(detail) {
|
||||
|
||||
detail.forEach(i => {
|
||||
let content = '';
|
||||
|
||||
let key = '';
|
||||
switch (i.type) {
|
||||
case 'too_many':
|
||||
manySrt = 'There are more errors.';
|
||||
@@ -277,9 +277,7 @@ export async function uploadFailedSecond(detail) {
|
||||
case 'malformed':
|
||||
content = `<li>Data malformed in Timestamp Column: (Row #${i.loc[1]}, "${i.input}")</li>`;
|
||||
break;
|
||||
case 'missing':
|
||||
let key = '';
|
||||
|
||||
case 'missing':
|
||||
switch (i.loc[2]) {
|
||||
case 'case id':
|
||||
key = 'Case ID';
|
||||
|
||||
Reference in New Issue
Block a user