Minor improvements
This commit is contained in:
parent
2d825739ca
commit
84c34b0252
@ -160,7 +160,7 @@ func Profile(ctx aero.Context, viewUser *arn.User) error {
|
||||
groups := []*arn.Group{}
|
||||
|
||||
for group := range arn.StreamGroups() {
|
||||
if group.HasMember(viewUser.ID) {
|
||||
if !group.IsDraft && group.HasMember(viewUser.ID) {
|
||||
groups = append(groups, group)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user