1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-04 17:43:17 +00:00

name short

This commit is contained in:
Kyle Spearrin
2018-12-06 14:49:26 -05:00
parent 0b1c0be0f0
commit 8fc5ad099b
2 changed files with 3 additions and 2 deletions

View File

@@ -187,6 +187,7 @@ namespace Bit.App.Models.Page
}
public string Name { get; set; }
public string NameShort => string.IsNullOrWhiteSpace(Name) || Name.Length == 0 ? "-" : Name[0].ToString();
}
public class GroupingOrCipher