Skip to content

Commit

Permalink
[Versions] Preview - Fix Impossible to access an attribute issue with…
Browse files Browse the repository at this point in the history
… localized classificationstore - resolves #9449
  • Loading branch information
dvesh3 committed Jun 16, 2021
1 parent 4081ec1 commit b53fa66
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -111,7 +111,7 @@
{% if activeGroups is not empty %}
{% set languages = ['default'] %}
{% if definition.isLocalized() %}
{% set languages = validLanguages + languages %}
{% set languages = validLanguages|merge(languages) %}
{% endif %}

{% for activeGroupId, enabled in activeGroups %}
Expand All @@ -133,7 +133,7 @@
{% set preview = keyDef.getVersionPreview(keyData) %}
<tr {% if loop.index is odd %}class="odd"{% endif %}>
<td>{{ definition.getTitle()|trans([],'admin') }}</td>
<td>{{ groupDefinition.getName() ~ "-" ~ keyGroupRelation.getName() }} {{ definition.isLocalized() ? "/ " . language : "" }}</td>
<td>{{ groupDefinition.getName() ~ "-" ~ keyGroupRelation.getName() }} {{ definition.isLocalized() ? "/ " ~ language : "" }}</td>
{% if isImportPreview is not defined or isNew is not defined %}
<td>{{ preview | raw }}</td>
{% endif %}
Expand Down

0 comments on commit b53fa66

Please sign in to comment.