mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-27 10:15:10 +00:00
check if form contents is None and not truthy when deciding to return back to the user w/ burnettk
This commit is contained in:
parent
1eadeb0b29
commit
d22e5b2550
@ -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 = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user