Preserve dormant member action agency
This commit is contained in:
parent
c994b0152c
commit
c4906b531c
14 changed files with 454 additions and 78 deletions
|
|
@ -29,7 +29,7 @@ function Get-ScenarioKind([string]$ScenarioId) {
|
|||
function Get-PlanActionCount($Plan) {
|
||||
if (-not $Plan) { return 0 }
|
||||
$count = 0
|
||||
foreach ($property in @('institution_actions', 'gestalt_actions', 'gestalt_activities', 'actor_moves', 'member_migrations')) {
|
||||
foreach ($property in @('institution_actions', 'gestalt_actions', 'gestalt_activities', 'actor_moves', 'member_activities', 'member_migrations')) {
|
||||
if ($Plan.PSObject.Properties.Name -contains $property) {
|
||||
$count += @($Plan.$property).Count
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue