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 Sep 13, 2024
1 parent 672b948 commit d7c19f9
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 d7c19f9

Please sign in to comment.