Update HACS
This commit is contained in:
@@ -8,7 +8,6 @@ const hacsIcons = {
|
||||
window.customIcons = window.customIcons || {};
|
||||
window.customIconsets = window.customIconsets || {};
|
||||
|
||||
// For Home Assistant > 2021.11
|
||||
window.customIcons["hacs"] = {
|
||||
getIcon: async (iconName) => (
|
||||
{ path: hacsIcons[iconName]?.path }
|
||||
@@ -20,10 +19,3 @@ window.customIcons["hacs"] = {
|
||||
})
|
||||
)
|
||||
};
|
||||
|
||||
// LEGACY For Home Assistant < 2021.11
|
||||
window.customIconsets["hacs"] = async () => {
|
||||
return {
|
||||
path: hacsIcons.hacs.path
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user