Show a message when no preview rendered
This commit is contained in:
parent
59de8a4151
commit
0d2d356e93
@ -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}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user