Skip to content

Commit

Permalink
Remove message about cache (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Apr 29, 2021
1 parent e931741 commit a8a7d97
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/tools/get-messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,6 @@ export const getMessages = memoizeOne((hacs: Hacs, repositories: Repository[]) =
}
});

if (hacs.configuration.frontend_expected !== hacs.configuration.frontend_running) {
messages.push({
name: hacs.localize("entry.messages.wrong_frontend_installed.title"),
info: hacs
.localize("entry.messages.wrong_frontend_installed.content")
.replace("{running}", hacs.configuration.frontend_running)
.replace("{expected}", hacs.configuration.frontend_expected),
severity: "error",
});
} else if (
hacs.configuration.frontend_expected !== version &&
hacs.configuration.frontend_expected !== undefined
) {
messages.push({
name: hacs.localize("entry.messages.wrong_frontend_loaded.title"),
info: hacs
.localize("entry.messages.wrong_frontend_loaded.content")
.replace("{running}", version)
.replace("{expected}", hacs.configuration.frontend_expected),
severity: "error",
});
}

if (hacs.status?.startup && ["setup", "waiting", "startup"].includes(hacs.status.stage)) {
messages.push({
name: hacs.localize(`entry.messages.${hacs.status.stage}.title`),
Expand Down

0 comments on commit a8a7d97

Please sign in to comment.