Przeglądaj źródła

add a link to edit custom sidebar

Yuki Takei 5 lat temu
rodzic
commit
5d20954a9d

+ 4 - 1
src/client/js/components/Sidebar/CustomSidebar.jsx

@@ -57,7 +57,10 @@ const CustomSidebar = (props) => {
   return (
     <>
       <div className="grw-sidebar-content-header p-3 d-flex">
-        <h3 className="mb-0">Custom Sidebar</h3>
+        <h3 className="mb-0">
+          Custom Sidebar
+          <a className="h6 ml-2" href="/Sidebar"><i className="icon-pencil"></i></a>
+        </h3>
         <button type="button" className="btn btn-sm btn-outline-secondary ml-auto" onClick={fetchDataAndRenderHtml}>
           <i className="icon icon-reload"></i>
         </button>