Skip to content

Commit

Permalink
Fixed getSidebar function after breaking from 2023.4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzrdof77 committed Apr 10, 2023
1 parent 6b922dd commit 9ffde53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/custom-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function getSidebar() {
root = root && root.shadowRoot;
root = root && root.querySelector("home-assistant-main");
root = root && root.shadowRoot;
root = root && root.querySelector("app-drawer-layout app-drawer");
root = root && root.querySelector("ha-drawer");
root = root && root.querySelector("ha-sidebar");
root = root && root.shadowRoot;
TitleElement = root && root.querySelector('.title') ? root.querySelector('.title') : null ;
Expand Down

0 comments on commit 9ffde53

Please sign in to comment.