diff --git a/public/js/app.js b/public/js/app.js index ce9176e..037b57a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -85,6 +85,7 @@ const App = { }, showPublic(page, param) { + document.getElementById('top-bar').classList.remove('hidden'); document.getElementById('top-auth').classList.remove('hidden'); document.getElementById('main-layout').classList.add('hidden'); const pub = document.getElementById('public-page'); @@ -94,6 +95,7 @@ const App = { }, showLayout() { + document.getElementById('top-bar').classList.add('hidden'); document.getElementById('top-auth').classList.add('hidden'); document.getElementById('public-page').classList.add('hidden'); document.getElementById('main-layout').classList.remove('hidden'); diff --git a/public/js/pages/dashboard.js b/public/js/pages/dashboard.js index b69df5b..bc8778d 100644 --- a/public/js/pages/dashboard.js +++ b/public/js/pages/dashboard.js @@ -7,6 +7,7 @@ const Dashboard = { document.getElementById('page-actions').innerHTML = ` + `; try {