diff --git a/adminPanel/src/elements/sidebar.js b/adminPanel/src/elements/sidebar.js index 6c2a2ea..cb11785 100644 --- a/adminPanel/src/elements/sidebar.js +++ b/adminPanel/src/elements/sidebar.js @@ -8,8 +8,7 @@ export default function Sidebar(props) { showDialog: props.showDialog || function() {}, api: props.api, notifications: props.notifications || [ ], - contactRequests: props.contactRequests || [ ], - filesPath: props.filesPath || null + contactRequests: props.contactRequests || [ ] }; function onLogout() { @@ -86,16 +85,6 @@ export default function Sidebar(props) { ); } - let filePath = parent.filesPath; - if (filePath) { - li.push(
Files
- -$content
"; - } - - public function createParagraph($title, $id, $content): string { - $id = replaceCssSelector($id); - $iconId = urlencode("$id-icon"); - return " -