mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
user_columns_config work in progress
This commit is contained in:
parent
9356cbf5af
commit
1c99a9a739
3 changed files with 53 additions and 6 deletions
|
|
@ -29,7 +29,9 @@ local function get_column_config()
|
|||
local redis_key = string.format(redis_base_key, table_id, user_id)
|
||||
|
||||
local visible_columns = ntop.getCache(redis_key) or {}
|
||||
|
||||
if visible_columns == nil or visible_columns == "" then
|
||||
visible_columns = {}
|
||||
end
|
||||
return(rest_utils.answer(rest_utils.consts.success.ok, visible_columns))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue