Update src/panels/lovelace/hui-root.ts

Co-Authored-By: balloob <paulus@home-assistant.io>
This commit is contained in:
Ian Richardson 2018-12-11 19:02:32 +01:00 committed by GitHub
parent 9b5e79f42a
commit 5de36f9579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -449,7 +449,7 @@ class HUIRoot extends hassLocalizeLitMixin(LitElement) {
window.open("https://www.home-assistant.io/lovelace/", "_blank");
}
private _editModeEnable() {
private _editModeEnable(): void {
if (this._yamlMode) {
window.alert("The edit UI is not available when in YAML mode.");
return;