mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Do not show new service worker toast (#2545)
This commit is contained in:
parent
d130471a99
commit
a9df5ea6a9
@ -11,7 +11,8 @@ export default () => {
|
||||
if (
|
||||
installingWorker.state === "installed" &&
|
||||
navigator.serviceWorker.controller &&
|
||||
!__DEV__
|
||||
!__DEV__ &&
|
||||
!__DEMO__
|
||||
) {
|
||||
// Notify users here of a new frontend being available.
|
||||
import(/* webpackChunkName: "show-new-frontend-toast" */ "./show-new-frontend-toast").then(
|
||||
|
Loading…
x
Reference in New Issue
Block a user