Updated readme.
This commit is contained in:
parent
a7948a9f69
commit
bbf51211cd
5 changed files with 46 additions and 42 deletions
|
|
@ -96,9 +96,7 @@ func (h *Admin) EntityList(n *gen.Type) echo.HandlerFunc {
|
|||
return echo.NewHTTPError(http.StatusInternalServerError, err)
|
||||
}
|
||||
|
||||
pgr := pager.NewPager(ctx, h.admin.Config.ItemsPerPage)
|
||||
|
||||
return pages.AdminEntityList(ctx, n.Name, list, pgr)
|
||||
return pages.AdminEntityList(ctx, n.Name, list)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ func AdminEntityList(
|
|||
ctx echo.Context,
|
||||
entityTypeName string,
|
||||
entityList *admin.EntityList,
|
||||
pgr pager.Pager,
|
||||
) error {
|
||||
r := ui.NewRequest(ctx)
|
||||
r.Title = entityTypeName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue