yusuketk 5 years ago
parent
commit
5ef95e602f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/client/js/components/PageHistory/Revision.jsx

+ 3 - 3
src/client/js/components/PageHistory/Revision.jsx

@@ -73,10 +73,10 @@ export default class Revision extends React.Component {
             </p>
             <p>
               <span className="d-inline-block" style={{ minWidth: '90px' }}>
-                {!this.props.hasDiff
-                  && <span className="text-muted">{t('No diff')}</span>
+                { !this.props.hasDiff
+                  && <span className="text-muted">{ t('No diff') }</span>
                 }
-                {this.props.hasDiff
+                { this.props.hasDiff
                   && (
                   // use dummy href attr (with preventDefault()), because don't apply style by a:not([href])
                   <a className="diff-view" href="" onClick={this._onDiffOpenClicked}>