Commit f77d8d26 authored by lukas.burgey's avatar lukas.burgey

Fix object property access

parent 7a0b6bf2
......@@ -63,7 +63,7 @@ export class QuestionnaireComponent implements OnInit {
getInputType(state: DeploymentState, key: string): string {
if (state.questionnaire_answers.has(key)) {
if (key in state.questionnaire_answers) {
const val = state.questionnaire_answers.get(key);
if (Array.isArray(val)) {
return 'selector';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment