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
This commit is contained in:
d11n
2022-01-18 02:20:59 +01:00
committed by GitHub
parent c3f73c0de3
commit 1d3f74c8bb
8 changed files with 74 additions and 37 deletions

View File

@@ -7,11 +7,13 @@ namespace BTCPayServer.Components.StoreSelector
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; }