diff --git a/src/frontend/app/viewer/document-viewer.component.ts b/src/frontend/app/viewer/document-viewer.component.ts index aea489f463ece71e4fea10f4fc6b291ece333725..54e44b201601975f5a77774106fed42fadea5075 100755 --- a/src/frontend/app/viewer/document-viewer.component.ts +++ b/src/frontend/app/viewer/document-viewer.component.ts @@ -614,7 +614,7 @@ export class DocumentViewerComponent implements OnInit, OnDestroy { (err: any) => { if (err.error.errors === 'Document has no file') { this.noFile = true; - } else if (err.error.errors === 'Converted Document not found') { + } else if (err.error.errors === 'Converted Document not found' || err.error.errors === 'Document can not be converted') { this.file.contentMode = 'route'; this.file.content = `../rest/attachments/${resId}/originalContent?mode=base64`; this.noConvertedFound = true;