Filter IsEnabled when retrieving repos from the settings window 8feb0a

This commit is contained in:
Raymond 2021-08-27 08:51:26 -04:00
parent 8feb0a9c53
commit 68107111f0

View file

@ -148,6 +148,7 @@ namespace Dalamud.Plugin.Internal
var repos = new List<PluginRepository>() { PluginRepository.MainRepo };
repos.AddRange(configuration.ThirdRepoList
.Where(repo => repo.IsEnabled)
.Select(repo => new PluginRepository(repo.Url, repo.IsEnabled)));
this.Repos = repos;