mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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 (
|
if (
|
||||||
installingWorker.state === "installed" &&
|
installingWorker.state === "installed" &&
|
||||||
navigator.serviceWorker.controller &&
|
navigator.serviceWorker.controller &&
|
||||||
!__DEV__
|
!__DEV__ &&
|
||||||
|
!__DEMO__
|
||||||
) {
|
) {
|
||||||
// Notify users here of a new frontend being available.
|
// Notify users here of a new frontend being available.
|
||||||
import(/* webpackChunkName: "show-new-frontend-toast" */ "./show-new-frontend-toast").then(
|
import(/* webpackChunkName: "show-new-frontend-toast" */ "./show-new-frontend-toast").then(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user