mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Set frontendVersion sooner (#11460)
This commit is contained in:
parent
ba75c2e7af
commit
b8d3eb76ac
@ -5,5 +5,3 @@ import "../resources/roboto";
|
|||||||
import "../util/legacy-support";
|
import "../util/legacy-support";
|
||||||
|
|
||||||
setPassiveTouchGestures(true);
|
setPassiveTouchGestures(true);
|
||||||
|
|
||||||
(window as any).frontendVersion = __VERSION__;
|
|
||||||
|
@ -29,6 +29,7 @@ import { HomeAssistant } from "../types";
|
|||||||
import { MAIN_WINDOW_NAME } from "../data/main_window";
|
import { MAIN_WINDOW_NAME } from "../data/main_window";
|
||||||
|
|
||||||
window.name = MAIN_WINDOW_NAME;
|
window.name = MAIN_WINDOW_NAME;
|
||||||
|
(window as any).frontendVersion = __VERSION__;
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user