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

View File

@ -475,7 +475,7 @@ def task_show(
process_model=process_model_with_form, process_model=process_model_with_form,
revision=process_instance.bpmn_version_control_identifier, 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 task_model.form_ui_schema = ui_form_contents
else: else:
task_model.form_ui_schema = {} task_model.form_ui_schema = {}