mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix xmr status message (#6111)
This commit is contained in:
parent
ce4d73fcad
commit
acbc75d077
@ -270,13 +270,13 @@ namespace BTCPayServer.Services.Altcoins.Monero.UI
|
|||||||
ModelState.AddModelError(nameof(viewModel.AccountIndex), $"Could not open the wallet: {ex.Message}");
|
ModelState.AddModelError(nameof(viewModel.AccountIndex), $"Could not open the wallet: {ex.Message}");
|
||||||
return View(viewModel);
|
return View(viewModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
return RedirectToAction(nameof(GetStoreMoneroLikePaymentMethod), new
|
TempData.SetStatusMessageModel(new StatusMessageModel()
|
||||||
{
|
{
|
||||||
cryptoCode,
|
Severity = StatusMessageModel.StatusSeverity.Info,
|
||||||
StatusMessage = "View-only wallet files uploaded. The wallet will soon become available."
|
Message = $"View-only wallet files uploaded. The wallet will soon become available."
|
||||||
|
|
||||||
});
|
});
|
||||||
|
return RedirectToAction(nameof(GetStoreMoneroLikePaymentMethod), new { cryptoCode });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
ViewData.SetActivePage(Model.CryptoCode, $"{Model.CryptoCode} Settings", Model.CryptoCode);
|
ViewData.SetActivePage(Model.CryptoCode, $"{Model.CryptoCode} Settings", Model.CryptoCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<partial name="_StatusMessage" />
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
@if (!ViewContext.ModelState.IsValid)
|
@if (!ViewContext.ModelState.IsValid)
|
||||||
|
Loading…
Reference in New Issue
Block a user