Skip to content

Commit

Permalink
String comparison simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
huzaifa-msft committed Oct 1, 2024
1 parent e34f80c commit 7573417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public void SearchHandler(string query)

if (system is ComputeSystemViewModel computeSystemViewModel)
{
if (_selectedProvider.ToString().Length > 0)
if (_selectedProvider.Length > 0)
{
var providerName = computeSystemViewModel.ProviderDisplayName;
if (providerName != _selectedProvider)
Expand Down

0 comments on commit 7573417

Please sign in to comment.