This commit is contained in:
Philip Peterson committed 2025-05-27 20:38:27 -07:00
1 parent da75b09c90
commit 845a290fcd
2 files changed
+2 -5

No files matched your search

+1 -3
View File
@@ -14,7 +14,6 @@ type ExploreUsersPageProps struct {
Keyword string Keyword string
SortType string SortType string
Users []*user.User Users []*user.User
// ContextUser *user.User
Context *context.Context Context *context.Context
IsSigned bool IsSigned bool
} }
@@ -47,14 +46,13 @@ func ExploreUsersPage(data ExploreUsersPageProps) g.Node {
gh.Class("ui container"), gh.Class("ui container"),
ExploreSearchMenu(data, true), ExploreSearchMenu(data, true),
UserList(UserListProps{ UserList(UserListProps{
// ContextUser: data.ContextUser,
Context: data.Context, Context: data.Context,
Users: data.Users, Users: data.Users,
IsSigned: data.IsSigned, IsSigned: data.IsSigned,
Locale: data.Locale, Locale: data.Locale,
PageIsAdminUsers: false, PageIsAdminUsers: false,
}), }),
// Pagination(data), // TODO Pagination(data),
), ),
), ),
g.Raw(footer), g.Raw(footer),
+1 -2
View File
@@ -11,8 +11,7 @@ import (
) )
type UserListProps struct { type UserListProps struct {
Users []*user.User Users []*user.User
// ContextUser *user.User
IsSigned bool IsSigned bool
PageIsAdminUsers bool PageIsAdminUsers bool
Locale translation.Locale Locale translation.Locale