mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
semicolon
Co-Authored-By: Otto Winter <otto@otto-winter.com>
This commit is contained in:
parent
c5a01f6109
commit
c4849c10ab
@ -710,7 +710,7 @@ document.querySelectorAll(".action-edit").forEach((btn) => {
|
||||
filenameField.innerHTML = activeEditorConfig;
|
||||
|
||||
editor.setValue("Loading configuration yaml...");
|
||||
editor.setOption('readOnly', true)
|
||||
editor.setOption('readOnly', true);
|
||||
fetch(`./edit?configuration=${activeEditorConfig}`, {credentials: "same-origin"})
|
||||
.then(res => res.text()).then(response => {
|
||||
editor.setValue(response, -1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user