Show a message when no preview rendered
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
{{#if fileLoaded}}
|
{{#if fileLoaded}}
|
||||||
{{#if isImage}}
|
{{#if isBinary}}
|
||||||
<img src={{objectURL}} alt={{metaData.name}}>
|
{{#if isImage}}
|
||||||
|
<img src={{objectURL}} alt={{metaData.name}}>
|
||||||
|
{{else}}
|
||||||
|
<p>No preview available for this content type.</p>
|
||||||
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if isText}}
|
{{#if isText}}
|
||||||
|
|||||||
Reference in New Issue
Block a user