Skip to content

Commit

Permalink
IBX-7447: Hide allowed extensions if no extensions are defined in ima…
Browse files Browse the repository at this point in the history
…ge fieldtype (#1353)
  • Loading branch information
dew326 authored Sep 27, 2024
1 parent 90aaf2e commit 8772790
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="ibexa-data-source__message--filesize">{{ 'fieldtype.binary_base.max_file_size'|trans({'%size%': max_file_size|default(0)|ibexa_file_size(2)})|desc('Max file size: %size%') }}</div>
{% endif %}

{% if image_extensions is defined %}
{% if image_extensions is defined and image_extensions is not empty %}
{% set extensions = [] %}

{% for mime_type in mime_types %}
Expand Down

0 comments on commit 8772790

Please sign in to comment.