Skip to content

Commit

Permalink
Merge pull request #34101 from dimagi/jt/suite-actions-bug-fix
Browse files Browse the repository at this point in the history
bug: should be in within for loop
  • Loading branch information
Jtang-1 authored Feb 8, 2024
2 parents 0b3010f + a6da884 commit a5c4d3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions corehq/apps/app_manager/suite_xml/sections/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ def build_detail(self, module, detail_type, detail, detail_column_infos, title,
for field in fields:
d.fields.append(field)

# Add actions
if detail_type.endswith('short') and not module.put_in_root:
if module.case_list_form.form_id:
DetailContributor.add_register_action(
self.app, module, d.actions, self.build_profile_id, self.entries_helper)
# Add actions
if detail_type.endswith('short') and not module.put_in_root:
if module.case_list_form.form_id:
DetailContributor.add_register_action(
self.app, module, d.actions, self.build_profile_id, self.entries_helper)

# Add actions
if detail_type.endswith('short') and not module.put_in_root:
Expand Down

0 comments on commit a5c4d3f

Please sign in to comment.