mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fixes incorrect observation point url
This commit is contained in:
parent
ca1be4364d
commit
ba2e8ea00a
2 changed files with 3 additions and 1 deletions
|
|
@ -102,7 +102,7 @@
|
|||
<optgroup label="{{ i18n('observationpoints') }}">
|
||||
{% for _, v in pairsByKeys(observationPoints, asc) do %}
|
||||
{% local selected = '' %}
|
||||
{% if((observationPointId ~= nil) and (tostring(k) == tostring(observationPointId))) then selected = 'selected' end %}
|
||||
{% if((observationPointId ~= nil) and (tostring(v["obs_point"]) == tostring(observationPointId))) then selected = 'selected' end %}
|
||||
<option value="{{ v["obs_point"] }}" {{ selected }}>{{ getObsPointAlias(v["obs_point"], true) }}</option>
|
||||
{% end %}
|
||||
</optgroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue