aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_services/csv-parse.service.ts
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-30 12:41:53 +0200
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-30 12:41:53 +0200
commitad9193d35e5ae2f6847492f1867963fc1672ee3e (patch)
treebe3b3a54bc42696e73f3c3092a9f52db8355c07f /frontend/src/app/_services/csv-parse.service.ts
parent6af8655c2d1a24c0c3ba851bb28d72f9d06c83b0 (diff)
parent476393d1530b261b8a145db2533262979558e064 (diff)
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_services/csv-parse.service.ts')
-rw-r--r--frontend/src/app/_services/csv-parse.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/app/_services/csv-parse.service.ts b/frontend/src/app/_services/csv-parse.service.ts
index d53f504e..b9b761a0 100644
--- a/frontend/src/app/_services/csv-parse.service.ts
+++ b/frontend/src/app/_services/csv-parse.service.ts
@@ -45,7 +45,8 @@ export class CsvParseService {
strMatchedValue = arrMatches[3];
}
- arrData[arrData.length - 1].push(strMatchedValue);
+ if (strMatchedValue.length > 0)
+ arrData[arrData.length - 1].push(strMatchedValue);
}
return (arrData);