mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #506 from daemitus/filterRepos
Filter disabled repos when retrieving repos from the settings window
This commit is contained in:
commit
52003a07e4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue