fix(transport-ui): count site data-connection config in export secret banner (M8, C2-SECRET-1)

This commit is contained in:
Joseph Doherty
2026-06-18 06:37:38 -04:00
parent 50d77b07cf
commit 542a3e92eb
2 changed files with 81 additions and 0 deletions
@@ -318,6 +318,11 @@ public partial class TransportExport : ComponentBase
{
if (!string.IsNullOrEmpty(db.ConnectionString)) count++;
}
foreach (var dc in resolved.DataConnections)
{
if (!string.IsNullOrEmpty(dc.PrimaryConfiguration)) count++;
if (!string.IsNullOrEmpty(dc.BackupConfiguration)) count++;
}
return count;
}