Skip to content

Commit

Permalink
deposit: Add allow-empty-files config available for deposit page
Browse files Browse the repository at this point in the history
* Expose `RECORDS_RESOURCES_ALLOW_EMPTY_FILES` for UI control
* Related to: inveniosoftware/invenio-rdm-records#1802
  • Loading branch information
Samk13 committed Aug 28, 2024
1 parent 285ebaa commit 444bd24
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
value='{{ config.RDM_RECORDS_ALLOW_RESTRICTION_AFTER_GRACE_PERIOD | tojson }}'>
<input type="hidden" name="config-groups-enabled"
value='{{ config.USERS_RESOURCES_GROUPS_ENABLED | tojson }}'>
<input type="hidden" name="records-resources-allow-empty-files"
value='{{ config.RECORDS_RESOURCES_ALLOW_EMPTY_FILES | tojson }}'>

{%- if forms_config %}
<input type="hidden" name="deposits-config"
Expand Down

0 comments on commit 444bd24

Please sign in to comment.