From bf99cea004fc0779a52ae2205852bffb222bb886 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 30 Jun 2018 08:19:18 -0400 Subject: [PATCH] possible null pointer fix --- src/App/Models/Page/VaultListPageModel.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/App/Models/Page/VaultListPageModel.cs b/src/App/Models/Page/VaultListPageModel.cs index 8b51a5d0b..b1fc3ec23 100644 --- a/src/App/Models/Page/VaultListPageModel.cs +++ b/src/App/Models/Page/VaultListPageModel.cs @@ -172,7 +172,11 @@ namespace Bit.App.Models.Page { AddRange(groupItems); - if(doUpper) + if(string.IsNullOrWhiteSpace(Name)) + { + Name = "-"; + } + else if(doUpper) { Name = name.ToUpperInvariant(); }