diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.html index 1c11b70fa56e..f79f48737967 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.html @@ -1,24 +1,23 @@ -@let previewFile = $previewFile(); -@let metadata = $metadata(); -@let downloadLink = $downloadLink(); +@let fileInfo = $fileInfo(); +@let metadata = fileInfo.metadata;
{{ $content() }}
+ {{ fileInfo.content }}