From 035f17979608184d4fe6a3b69c191d1e7f2689fb Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Mon, 29 Nov 2021 13:51:05 -0300 Subject: [PATCH] Fix crash produced when adding a custom field on a Secure Note, because it try to load the control of linked fields even if it's not the type --- src/App/Pages/Vault/AddEditPageViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Pages/Vault/AddEditPageViewModel.cs b/src/App/Pages/Vault/AddEditPageViewModel.cs index fbbd6ad17..cbad6b10a 100644 --- a/src/App/Pages/Vault/AddEditPageViewModel.cs +++ b/src/App/Pages/Vault/AddEditPageViewModel.cs @@ -929,7 +929,7 @@ namespace Bit.App.Pages public List> LinkedFieldOptions { - get => _cipher.LinkedFieldOptions + get => _cipher.LinkedFieldOptions? .Select(kvp => new KeyValuePair(_i18nService.T(kvp.Key), kvp.Value)) .ToList(); }