Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Nov 8, 2020
1 parent ebb08d0 commit f163837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function kiosk_mode() {
for (let conf of userConf) {
let users = conf.users;
if (!Array.isArray(conf.users)) users = [users];
if ((users.map((u) => u.toLowerCase().includes(hass.user.name.toLowerCase()))).some(x => x == true)) {
if (users.map((u) => u.toLowerCase().includes(hass.user.name.toLowerCase())).some((x) => x == true)) {
hide_header = conf.kiosk || conf.hide_header;
hide_sidebar = conf.kiosk || conf.hide_sidebar;
}
Expand Down

0 comments on commit f163837

Please sign in to comment.