Skip to content

Commit

Permalink
ELEMENTS-1722: preview for Office files in the Attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Feb 28, 2024
1 parent 79a2bca commit f2d1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/nuxeo-document-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ import './viewers/nuxeo-video-viewer.js';

_computeRendition(document, xpath, name) {
const rendition =
xpath === 'file:content' &&
(xpath === 'file:content' || xpath.includes('files:files')) &&
document &&
document.contextParameters &&
document.contextParameters.renditions &&
Expand Down

0 comments on commit f2d1f1c

Please sign in to comment.