Skip to content

Commit 8fc80ee

Browse files
authored
Fix problems with exlludedProperties (#31)
1 parent 282b63b commit 8fc80ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng-generate/table-prompter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ function getUserConfigQuestions(allAnswers: any, tree: Tree, options: Schema): Q
522522
type: 'confirm',
523523
name: 'getExcludedPropLabels',
524524
message: 'Do you want to generate translation labels for excluded properties?',
525-
when: (answers: any) => answers.excludedProperties.length > 0,
525+
when: (answers: any) => answers.excludedProperties?.length > 0,
526526
default: false,
527527
};
528528

0 commit comments

Comments
 (0)