fix(centralui): pass siteId+connectionName into ShowAsync explicitly
Razor parameter binding propagates on the next render, so reading SiteId inside LoadRootAsync raced against the parent's "set field, then call ShowAsync()" pattern — central received an empty siteId and rejected with "No ClusterClient for site ,". Take the values as args instead.
This commit is contained in:
+1
-1
@@ -573,7 +573,7 @@
|
||||
?? GetTemplateDefault(attrName);
|
||||
|
||||
if (_browserRef is not null)
|
||||
await _browserRef.ShowAsync();
|
||||
await _browserRef.ShowAsync(_siteIdentifier, conn.Name, _browserInitial);
|
||||
}
|
||||
|
||||
private void OnBrowserSelected(string nodeId)
|
||||
|
||||
Reference in New Issue
Block a user