Skip to content

Commit

Permalink
Fix add to lovelace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Mar 7, 2020
1 parent b369aff commit 5b1d4ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/misc/AddedToLovelace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export function AddedToLovelace(
if (resources) {
(resources as LovelaceResourceConfig[]).forEach(
(item: LovelaceResourceConfig) => {
if (item.url === URL1 || item.url === URL2 || item.type !== "module")
loaded = true;
if (item.url === URL1 || item.url === URL2) loaded = true;
}
);
}
Expand Down

0 comments on commit 5b1d4ab

Please sign in to comment.