mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Add ability to hide a plugin menu entry
This commit is contained in:
parent
5876a7362e
commit
818a21d9ee
3 changed files with 31 additions and 21 deletions
|
|
@ -17,4 +17,9 @@ return {
|
|||
-- The sort order in the menu. Entries with higher sort_order are shown
|
||||
-- before entries with lower sort order.
|
||||
sort_order = -1,
|
||||
|
||||
-- Conditionally show or hide the menu entry
|
||||
is_shown = function()
|
||||
return(true)
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue