add supressNav property to plugin pages.

This allows pages to be registered that dont show up in the
Navigation menu when the App is pinned.
This commit is contained in:
Anthony Woods
2016-03-01 18:07:51 +08:00
parent fa99a6745d
commit 74949d306f
2 changed files with 11 additions and 8 deletions

View File

@ -9,10 +9,11 @@ import (
)
type AppPluginPage struct {
Name string `json:"name"`
Slug string `json:"slug"`
Component string `json:"component"`
Role models.RoleType `json:"role"`
Name string `json:"name"`
Slug string `json:"slug"`
Component string `json:"component"`
Role models.RoleType `json:"role"`
SuppressNav bool `json:"suppress_nav"`
}
type AppPluginCss struct {