Skip to content

Commit

Permalink
EWPP-4793: Fix file component patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Oct 1, 2024
1 parent 2f123c1 commit 56a93c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions patches/@ecl+twig-component-file+4.7.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,23 @@ index 0d40c88..6dd85ba 100644
</ul>
</div>
{% endif %}
diff --git a/node_modules/@ecl/twig-component-file/file.html.twig b/node_modules/@ecl/twig-component-file/file.html.twig
index d18c512..6368be9 100644
--- a/node_modules/@ecl/twig-component-file/file.html.twig
+++ b/node_modules/@ecl/twig-component-file/file.html.twig
@@ -32,6 +32,7 @@
- "meta" (string) (default: '')
- "lang" (string) (default: '')
- "download" (object) (default to the parent download property) object of type Link
+ - "description (string) (default:'')
- "extra_classes" (optional) (string) (default: '')
- "extra_attributes" (optional) (array) (default: []) [{
- "name" (string) Attribute name, eg. 'data-test'
@@ -205,6 +206,7 @@
{% include '@ecl/file/file-translations.html.twig' with _translation|merge({
id: _id,
download_attribute_default: _download_attribute,
+ variant: _variant|default('default'),
}) only %}
{% endif %}
</div>

0 comments on commit 56a93c9

Please sign in to comment.