Skip to content

Commit

Permalink
Add eslint disable comment
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed May 22, 2024
1 parent fbf96f2 commit eb87ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/LEVANTE/RegisterUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ const onFileUpload = async (event) => {
rawUserFile.value = await csvFileToJson(event.files[0]);
// Check uploaded CSV has required columns
// eslint-disable-next-line no-prototype-builtins
const missingColumns = requiredFields.filter((col) => !rawUserFile.value[0].hasOwnProperty(col));
if (missingColumns.length > 0) {
toast.add({
Expand Down

0 comments on commit eb87ea2

Please sign in to comment.