mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Server Settings: Consolidate Storage and Files (#3863)
* Server Settings: Consolidate Storage and Files * Improve storage options name display * Remove file services from services page * Remove more code
This commit is contained in:
@@ -236,10 +236,10 @@ namespace BTCPayServer.Controllers
|
||||
if (forceChoice || savedSettings == null)
|
||||
{
|
||||
var providersList = _StorageProviderServices.Select(a =>
|
||||
new SelectListItem(a.StorageProvider().ToString(), a.StorageProvider().ToString())
|
||||
new SelectListItem(typeof(StorageProvider).DisplayName(a.StorageProvider().ToString()), a.StorageProvider().ToString())
|
||||
);
|
||||
|
||||
return View(new ChooseStorageViewModel()
|
||||
return View(new ChooseStorageViewModel
|
||||
{
|
||||
ProvidersList = providersList,
|
||||
ShowChangeWarning = savedSettings != null,
|
||||
|
||||
Reference in New Issue
Block a user