Skip to content

Commit bf3447c

Browse files
committed
fix(ui): null pointer
1 parent 9aa077a commit bf3447c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/TaskForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@
112112
v-if="template.app === 'ansible'"
113113
v-model="item.params"
114114
:app="template.app"
115-
:template-params="template.task_params"
115+
:template-params="template.task_params || {}"
116116
/>
117117

118118
<TaskParamsForm
119119
v-else
120120
v-model="item.params"
121121
:app="template.app"
122-
:template-params="template.task_params"
122+
:template-params="template.task_params || {}"
123123
/>
124124

125125
<ArgsPicker

0 commit comments

Comments
 (0)