fix: add appeal button, hide top bar when logged in so sidebar is clickable
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user