mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fix js warning
This commit is contained in:
parent
0192750fed
commit
e5f8fb2bd4
1 changed files with 2 additions and 0 deletions
|
|
@ -184,12 +184,14 @@
|
|||
// reload the table
|
||||
$table.ajax.url(`{* datatable.datasource.name *}?${searchParams.toString()}`).load();
|
||||
|
||||
{% if chart and chart.name then %}
|
||||
try {
|
||||
WidgetUtils.getWidgetByName("{{ chart.name }}").update(datasourceParams);
|
||||
}
|
||||
catch(e) {
|
||||
console.warn(e);
|
||||
}
|
||||
{% end %}
|
||||
|
||||
{% if show_cards then %}
|
||||
updateCardStats();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue