feat: add subscription enabled status to module filtering logic
This commit is contained in:
@@ -60,7 +60,7 @@ public class ModuleService
|
||||
.ThenBy(m => m.Name)
|
||||
.ToListAsync();
|
||||
|
||||
return modules.Where(m => m.IsCore || (m.Subscription?.IsValid() ?? false)).ToList();
|
||||
return modules.Where(m => m.IsCore || ((m.Subscription?.IsEnabled ?? false) && (m.Subscription?.IsValid() ?? false))).ToList();
|
||||
}) ?? new List<AppModule>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user