Skip to content

Commit

Permalink
refactor: order configuration settings by key (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnc1997 authored Oct 2, 2024
1 parent 97e803f commit 40cfa53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
@code {
private List<ConfigurationSetting> ConfigurationSettings { get; } = [];

private List<ConfigurationSetting> FilteredConfigurationSettings => ConfigurationSettings.Where(setting => string.IsNullOrEmpty(SearchQuery) || setting.Key.Contains(SearchQuery) || setting.Label?.Contains(SearchQuery) == true || setting.Value?.Contains(SearchQuery) == true).ToList();
private List<ConfigurationSetting> FilteredConfigurationSettings => ConfigurationSettings.Where(setting => string.IsNullOrEmpty(SearchQuery) || setting.Key.Contains(SearchQuery) || setting.Label?.Contains(SearchQuery) == true || setting.Value?.Contains(SearchQuery) == true).OrderBy(setting => setting.Key).ToList();

private bool IsValuesHidden { get; set; } = true;

Expand Down

0 comments on commit 40cfa53

Please sign in to comment.