btcpayserver/BTCPayServer/Components/StoreSelector/StoreSelectorViewModel.cs
d11n 1d3f74c8bb
Home sweet home (#3313)
* Link to store home, show home only if there is no store

* Handle store guest case

* Apply correct policies to nav items
2022-01-18 10:20:59 +09:00

21 lines
627 B
C#

using System.Collections.Generic;
namespace BTCPayServer.Components.StoreSelector
{
public class StoreSelectorViewModel
{
public List<StoreSelectorOption> Options { get; set; }
public string CurrentStoreId { get; set; }
public string CurrentDisplayName { get; set; }
public bool CurrentStoreIsOwner { get; set; }
}
public class StoreSelectorOption
{
public bool Selected { get; set; }
public bool IsOwner { get; set; }
public string Text { get; set; }
public string Value { get; set; }
public WalletId WalletId { get; set; }
}
}