Update hide_sidebar_controller.js (#1404)

With this fix, the sidebar state is reapplied correctly on page reload.
This commit is contained in:
d-buchmann 2026-06-14 22:52:08 +02:00 committed by GitHub
parent 63d507b2f3
commit 192c5fcaa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ export default class extends Controller {
//Make the state persistent over reloads //Make the state persistent over reloads
if(localStorage.getItem(STORAGE_KEY) === 'true') { if(localStorage.getItem(STORAGE_KEY) === 'true') {
sidebarHide(); this.hideSidebar();
} }
} }