check if form contents is None and not truthy when deciding to return back to the user w/ burnettk

This commit is contained in:
jasquat 2023-10-16 11:42:09 -04:00
parent 1eadeb0b29
commit d22e5b2550
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ def task_show(
process_model=process_model_with_form,
revision=process_instance.bpmn_version_control_identifier,
)
if ui_form_contents:
if ui_form_contents is not None:
task_model.form_ui_schema = ui_form_contents
else:
task_model.form_ui_schema = {}