mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
fix for multibar widget
This commit is contained in:
parent
bf047da111
commit
ab0c7ae440
6 changed files with 34 additions and 31 deletions
|
|
@ -25,8 +25,8 @@ local WIDGET_TYPES = {
|
|||
table = {
|
||||
i18n = "Table"
|
||||
},
|
||||
timeseries = {
|
||||
i18n = "Timeseries"
|
||||
multibar = {
|
||||
i18n = "Multibar"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -194,6 +194,8 @@ function widgets_utils.generate_response(widget, params)
|
|||
local response = require(origin)
|
||||
response = response:getData(widget.type)
|
||||
|
||||
tprint(widget.type)
|
||||
|
||||
return json.encode({
|
||||
widgetName = widget.name,
|
||||
widgetType = widget.type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue