Only display storage providers that can actually be set in dropdown

This commit is contained in:
rockstardev
2021-04-18 14:03:22 -05:00
parent 99dd6f3e50
commit 04a29ece3b
3 changed files with 13 additions and 2 deletions

View File

@@ -1,9 +1,12 @@
using System.Collections.Generic;
using BTCPayServer.Storage.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BTCPayServer.Storage.ViewModels
{
public class ChooseStorageViewModel
{
public IEnumerable<SelectListItem> ProvidersList { get; set; }
public StorageProvider Provider { get; set; }
public bool ShowChangeWarning { get; set; }
}