1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-23 16:27:51 +01:00

children default is empty list

This commit is contained in:
Kyle Spearrin 2019-04-22 09:08:24 -04:00
parent efddb385d8
commit 2959577163

View File

@ -6,7 +6,7 @@ namespace Bit.Core.Models.Domain
{
public T Parent { get; set; }
public T Node { get; set; }
public List<TreeNode<T>> Children { get; set; }
public List<TreeNode<T>> Children { get; set; } = new List<TreeNode<T>>();
public TreeNode(T node, string name, T parent)
{