jgrygierek / SonataBatchEntityImportBundle

Importing entities with preview and edit features for Sonata Admin.
MIT License
8 stars 3 forks source link

Show & hide entity override column #51

Closed micayael closed 1 month ago

micayael commented 1 month ago

Hi

I think there is a bug on this file: src/Resources/views/edit_matrix.html.twig on line 19

<th>{{ 'matrix.header.label.override'|trans({}, 'SonataBatchEntityImportBundle') }}</th>

This should be

{% if importConfiguration.allowOverrideEntity %}
    <th>{{ 'matrix.header.label.override'|trans({}, 'SonataBatchEntityImportBundle') }}</th>
{% endif %}
jgrygierek commented 1 month ago

Hi, yes, you are right, thanks.

jgrygierek commented 1 month ago

@micayael done

micayael commented 1 month ago

Great @jgrygierek!!!