Make admin menu links dynamic.
This commit is contained in:
parent
8219b96df7
commit
36bc20b90f
6 changed files with 42 additions and 15 deletions
|
|
@ -20,6 +20,7 @@ type User struct {
|
|||
type EntityList struct {
|
||||
Columns []string
|
||||
Entities []EntityValues
|
||||
Page int
|
||||
HasNextPage bool
|
||||
}
|
||||
|
||||
|
|
@ -33,3 +34,10 @@ type HandlerConfig struct {
|
|||
PageQueryKey string
|
||||
TimeFormat string
|
||||
}
|
||||
|
||||
func GetEntityTypeNames() []string {
|
||||
return []string{
|
||||
"PasswordToken",
|
||||
"User",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue