diff --git a/src/App/Utilities/Helpers.cs b/src/App/Utilities/Helpers.cs index e1c9c35e9..51a23f237 100644 --- a/src/App/Utilities/Helpers.cs +++ b/src/App/Utilities/Helpers.cs @@ -401,11 +401,11 @@ namespace Bit.App.Utilities null, options.ToArray()); UriMatchType? selectedVal = null; - if(val == AppResources.Cancel) + if(val == null || val == AppResources.Cancel) { selectedVal = exactingMatchVal; } - else if(val != null && val != AppResources.Default) + else if(val.Replace("✓ ", string.Empty) != AppResources.Default) { selectedVal = UriMatchOptionsMap.ElementAt(Array.IndexOf(optionsArr, val) - 1).Key; }