Landed conference list page - still needs some work (doesn't crash, but some display info is incorrect)

This commit is contained in:
2025-10-22 23:19:11 -06:00
parent 4f3677b3b4
commit b93bc93e00
6 changed files with 247 additions and 3 deletions
+12
View File
@@ -246,3 +246,15 @@ func AmOnUserLeaveCommunityServices(c *Community, u *User) error {
}
return err
}
func AmTestService(c *Community, serviceId string) (bool, error) {
arr, err := AmGetCommunityServices(c.Id)
if err == nil {
for _, svc := range arr {
if svc.Id == serviceId {
return true, nil
}
}
}
return false, err
}