Преглед изворни кода

BugFix omit Icon component

Yuki Takei пре 8 година
родитељ
комит
6e4bd5366a
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      resource/js/components/PageAttachment/Attachment.js

+ 3 - 1
resource/js/components/PageAttachment/Attachment.js

@@ -35,7 +35,9 @@ export default class Attachment extends React.Component {
     const fileType = <span className="attachment-filetype label label-default">{attachment.fileFormat}</span>;
 
     const btnTrash = (this.props.isUserLoggedIn)
-        ? <a className="text-danger attachment-delete" onClick={this._onAttachmentDeleteClicked}><Icon name="trash-o" /></a>
+        ? <a className="text-danger attachment-delete" onClick={this._onAttachmentDeleteClicked}>
+            <i className="icon-trash"></i>
+          </a>
         : '';
 
     return (