itizawa 5 년 전
부모
커밋
b8befffdc8
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/client/js/components/Page/NotFoundAlert.jsx
  2. 1 1
      src/client/js/components/Page/RenderTagLabels.jsx

+ 1 - 1
src/client/js/components/Page/NotFoundAlert.jsx

@@ -37,7 +37,7 @@ const NotFoundAlert = (props) => {
         <div id="create-page-btn-wrapper-for-tooltip" className="d-inline-block">
           <button
             type="button"
-            className={`pl-3 pr-3 btn bg-info text-white ${isGuestUserMode && 'disabled'}`}
+            className={`pl-3 pr-3 btn bg-info text-white ${isGuestUserMode ? 'disabled' : ''}`}
             onClick={() => { clickHandler('edit') }}
           >
             <i className="icon-note icon-fw" />

+ 1 - 1
src/client/js/components/Page/RenderTagLabels.jsx

@@ -37,7 +37,7 @@ const RenderTagLabels = React.memo((props) => {
 
       <div id="edit-tags-btn-wrapper-for-tooltip">
         <a
-          className={`btn btn-link btn-edit-tags p-0 text-muted ${isTagsEmpty && 'no-tags'} ${isGuestUser && 'disabled'}`}
+          className={`btn btn-link btn-edit-tags p-0 text-muted ${isTagsEmpty ? 'no-tags' : ''} ${isGuestUser ? 'disabled' : ''}`}
           onClick={openEditorHandler}
         >
           { isTagsEmpty && <>{ t('Add tags for this page') }</>}