Skip to content

Commit

Permalink
bug: should be in within for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jtang-1 committed Feb 8, 2024
1 parent bdfb533 commit a6da884
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 a6da884

Please sign in to comment.