yusuketk před 6 roky
rodič
revize
25fb833f20

+ 2 - 3
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -164,10 +164,9 @@ class LinkEditModal extends React.PureComponent {
                   <div className="custom-control custom-checkbox custom-checkbox-info">
                     <input
                       className="custom-control-input"
-                      id="relativePath"
+                      id="permanentLink"
                       type="checkbox"
-                      checked={this.state.isUseRelativePath}
-                      disabled={this.state.linkerType === 'growiLink'}
+                      checked={this.state.isUsePamanentLink}
                     />
                     <label className="custom-control-label" htmlFor="permanentLink" onClick={this.toggleIsUsePamanentLink}>
                       convert into permanent link