Expose next sortie checklist detail
This commit is contained in:
@@ -9585,6 +9585,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) {
|
||||
typeof state.sortieChecklistSummary?.requiredRemainingCount !== 'number' ||
|
||||
typeof state.sortieChecklistSummary?.recommendedRemainingCount !== 'number' ||
|
||||
(state.sortieChecklistSummary?.nextIncompleteLabel !== null && typeof state.sortieChecklistSummary?.nextIncompleteLabel !== 'string') ||
|
||||
(state.sortieChecklistSummary?.nextIncompleteDetail !== null && typeof state.sortieChecklistSummary?.nextIncompleteDetail !== '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