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