mirror of
https://github.com/minio/minio.git
synced 2025-02-03 18:06:00 -05:00
parent
37c14207d6
commit
60d91234b9
@ -46,11 +46,11 @@ class PreviewObjectModal extends React.Component {
|
|||||||
<ModalBody>
|
<ModalBody>
|
||||||
<div className="input-group">
|
<div className="input-group">
|
||||||
{this.state.url && (
|
{this.state.url && (
|
||||||
<img
|
<object data={this.state.url}>
|
||||||
alt="Image broken"
|
<h3 style={{ textAlign: "center", display: "block", width: "100%" }}>
|
||||||
src={this.state.url}
|
Do not have read permissions to preview "{this.props.object.name}"
|
||||||
style={{ display: "block", width: "100%" }}
|
</h3>
|
||||||
/>
|
</object>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user