fix(transport-ui): count site data-connection config in export secret banner (M8, C2-SECRET-1)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user