Optimize admin user list

This commit is contained in:
Kukks
2021-11-15 10:27:19 +01:00
parent 56c8e43ce8
commit 31cf2671f5
5 changed files with 21 additions and 10 deletions

View File

@@ -13,8 +13,10 @@ namespace BTCPayServer.Models.ServerViewModels
public bool Verified { get; set; }
public bool IsAdmin { get; set; }
public DateTimeOffset? Created { get; set; }
public IEnumerable<string> Roles { get; set; }
}
public List<UserViewModel> Users { get; set; } = new List<UserViewModel>();
public Dictionary<string, string> Roles { get; set; }
}
}