Skip to content

Commit

Permalink
🐛 fix issue with detail config upload warning not appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenank committed Jun 3, 2021
1 parent e058924 commit 9112b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/details/modal/main-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function setUpJSONDownloadUpload(id) {
id,
"json-upload",
e => uploadJSON(id, "#json-upload", e),
"Only .csv files are allowed. Every column in the table (apart from shot number) must appear in the .csv file."
"Only .json files are allowed."
);
}

Expand Down Expand Up @@ -267,7 +267,7 @@ function uploadJSON(id, uploadId, e) {
}
} else {
d3.select(id)
.select("#upload")
.select("#json-upload")
.attr("class", "form-control is-invalid");
}
}
Expand Down

0 comments on commit 9112b72

Please sign in to comment.