Expose next incomplete sortie checklist item
This commit is contained in:
@@ -9583,7 +9583,9 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
|
||||
typeof state.sortieChecklistSummary?.completeCount !== 'number' ||
|
||||
typeof state.sortieChecklistSummary?.complete !== 'boolean' ||
|
||||
typeof state.sortieChecklistSummary?.requiredRemainingCount !== 'number' ||
|
||||
typeof state.sortieChecklistSummary?.recommendedRemainingCount !== 'number'
|
||||
typeof state.sortieChecklistSummary?.recommendedRemainingCount !== 'number' ||
|
||||
(state.sortieChecklistSummary?.nextIncompleteLabel !== null && typeof state.sortieChecklistSummary?.nextIncompleteLabel !== 'string') ||
|
||||
(state.sortieChecklistSummary?.nextIncompletePriority !== null && typeof state.sortieChecklistSummary?.nextIncompletePriority !== 'string')
|
||||
) {
|
||||
throw new Error(`Expected sortie checklist summary counts: ${JSON.stringify(state.sortieChecklistSummary)}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user