Expose next incomplete sortie checklist item

This commit is contained in:
2026-07-09 14:23:03 +09:00
parent 5ef2a84cbd
commit b001f495ae
2 changed files with 7 additions and 2 deletions

View File

@@ -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)}`);
}