Skip to content

Commit

Permalink
Update iconset to be usable with the icon picker (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 2, 2021
1 parent 3813b94 commit 3df9123
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 25 additions & 3 deletions custom_components/hacs/iconset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion custom_components/hacs/tasks/setup_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def async_execute(self) -> None:
)
if "frontend_extra_module_url" not in self.hass.data:
self.hass.data["frontend_extra_module_url"] = set()
self.hass.data["frontend_extra_module_url"].add("/hacsfiles/iconset.js")
self.hass.data["frontend_extra_module_url"].add(f"{URL_BASE}/iconset.js")

# Register www/community for all other files
use_cache = self.hacs.core.lovelace_mode == "storage"
Expand Down

0 comments on commit 3df9123

Please sign in to comment.