Skip to content

Commit 6dc4654

Browse files
sakshamarora1slint
authored andcommitted
fix(community-submission): add missing var in side bar template
1 parent 09e1ea9 commit 6dc4654

File tree

1 file changed

+2
-0
lines changed
  • invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar

1 file changed

+2
-0
lines changed

invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/manage_menu.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
data-groups-enabled='{{ config.USERS_RESOURCES_GROUPS_ENABLED | tojson }}'
2121
{% if record_deletion %}
2222
data-record-deletion='{{ record_deletion | tojson }}'
23+
{% else %}
24+
data-record-deletion='{{ {} | tojson }}'
2325
{% endif %}
2426
{% if config.RDM_DETAIL_SIDE_BAR_MANAGE_ATTRIBUTES_EXTENSION_TEMPLATE %}
2527
{% include config.RDM_DETAIL_SIDE_BAR_MANAGE_ATTRIBUTES_EXTENSION_TEMPLATE %}

0 commit comments

Comments
 (0)