diff --git a/html/js/functions.js b/html/js/functions.js index 07f9bfe..d0f060b 100644 --- a/html/js/functions.js +++ b/html/js/functions.js @@ -140,7 +140,10 @@ function resolveTarget(mode, timeslot, target) { tmpval = talkgroups.filter(function (tg) { return tg[0] == mode}); switch (mode) { case "DMR": - tmpval = talkgroups.filter(function (tg) { return tg[1] == timeslot}); + tmpval = tmpval.filter(function (tg) { return tg[1] == timeslot}); + retval = tmpval.filter(function (tg) { return tg[2] == target.substring(3, target.length).trim()}); + break; + case "P25": retval = tmpval.filter(function (tg) { return tg[2] == target.substring(3, target.length).trim()}); break; case "YSF": diff --git a/html/js/version.js b/html/js/version.js index 604705c..d6b3614 100644 --- a/html/js/version.js +++ b/html/js/version.js @@ -1 +1 @@ -var dashboard_version = "2021-02-17 20:58:46"; +var dashboard_version = "2021-02-18 17:16:01";