diff --git a/internal/licenseutils/utils.go b/internal/licenseutils/utils.go index d9503dc652..939c9c0b1e 100644 --- a/internal/licenseutils/utils.go +++ b/internal/licenseutils/utils.go @@ -102,7 +102,7 @@ func (u HubUser) GetAvailableLicenses(ctx context.Context) ([]LicenseDisplay, er // Filter out expired licenses i := 0 for _, s := range subs { - if s.State != "expired" && s.Expires != nil { + if s.State == "active" && s.Expires != nil { owner := "" if s.DockerID == u.User.ID { owner = u.User.Username