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