feat(centralui): Verify-endpoint button + result/cert panel (T17)
This commit is contained in:
@@ -86,6 +86,9 @@
|
||||
IdPrefix="primary"
|
||||
Config="_primaryConfig"
|
||||
IsLegacy="_primaryIsLegacy"
|
||||
SiteIdentifier="@_formSiteIdentifier"
|
||||
ConnectionName="@_formName"
|
||||
Protocol="@_protocol"
|
||||
Errors="_primaryErrors" />
|
||||
}
|
||||
|
||||
@@ -118,6 +121,9 @@
|
||||
IdPrefix="backup"
|
||||
Config="_backupConfig"
|
||||
IsLegacy="_backupIsLegacy"
|
||||
SiteIdentifier="@_formSiteIdentifier"
|
||||
ConnectionName="@_formName"
|
||||
Protocol="@_protocol"
|
||||
Errors="_backupErrors" />
|
||||
}
|
||||
<div class="mb-2">
|
||||
@@ -170,6 +176,13 @@
|
||||
private ValidationResult? _backupErrors;
|
||||
private string? _formError;
|
||||
|
||||
// The machine-readable site identifier (used in Akka addresses) for the currently
|
||||
// selected site — resolved from _formSiteId (the numeric primary key) so the
|
||||
// endpoint editor's Verify probe can target the owning site. Blank until a site is
|
||||
// chosen, which disables verification in the editor.
|
||||
private string _formSiteIdentifier =>
|
||||
_sites.FirstOrDefault(s => s.Id == _formSiteId)?.SiteIdentifier ?? string.Empty;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user