Show a message when no preview rendered
This commit is contained in:
1 parent
59de8a4151
commit
0d2d356e93
1 file changed
+6
-2
@@ -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}}
|
||||
|
||||
Reference in new issue
Block a user