Added CSV-File and some code-cleanup
This commit is contained in:
parent
990fe946c5
commit
cb36605899
3 changed files with 5 additions and 2 deletions
4
html/data/TG_List.csv
Normal file
4
html/data/TG_List.csv
Normal file
|
@ -0,0 +1,4 @@
|
|||
TS,TG,LABEL
|
||||
1,263,DL Multimode BM
|
||||
2,8021,Pegasus DMR-DL
|
||||
2,2625,RLP/SL BM
|
|
|
@ -134,7 +134,6 @@ function getRawTarget(logline) {
|
|||
function resolveTarget(timeslot, target) {
|
||||
retval = null;
|
||||
tmpval = talkgroups.filter(function (tg) { return tg[0] == timeslot});
|
||||
// and tg.TG == target
|
||||
retval = tmpval.filter(function (tg) { return tg[1] == target.substring(3, target.length)});
|
||||
if (retval.length > 0) {
|
||||
return retval[0][2];
|
||||
|
|
|
@ -1 +1 @@
|
|||
var dashboard_version = "2021-02-13 21:34:03";
|
||||
var dashboard_version = "2021-02-13 21:46:34";
|
||||
|
|
Loading…
Reference in a new issue