mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-11 20:59:54 +02:00
fail more gracefully on empty TSV file
This commit is contained in:
parent
c707650bb6
commit
3d85d606fd
1 changed files with 2 additions and 0 deletions
2
neat.js
2
neat.js
|
@ -48,6 +48,8 @@ function loadFile(evt, onComplete) {
|
|||
|
||||
function setupInterface(data, file, urls) {
|
||||
|
||||
if (data.data.length <= 0) return null;
|
||||
|
||||
// private variables of app
|
||||
|
||||
let displayRows=15
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue