mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
MUD configuration save fixes
This commit is contained in:
parent
cf90bb2bcf
commit
f000dcb30a
4 changed files with 32 additions and 17 deletions
|
|
@ -1141,8 +1141,8 @@ const FlowMud = (gui, hooks, script_subdir, script_key) => {
|
|||
|
||||
const render_template = () => {
|
||||
const enabled = hooks.all.enabled;
|
||||
const items_list = hooks.all.script_conf.device_types || [];
|
||||
const max_recording = hooks.all.script_conf.max_recording || 3600;
|
||||
const items_list = (hooks.all.script_conf ? hooks.all.script_conf.device_types : null) || [];
|
||||
const max_recording = (hooks.all.script_conf ? hooks.all.script_conf.max_recording : null) || 3600;
|
||||
|
||||
const $multiselect_ds = generate_multi_select({
|
||||
enabled: enabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue