mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-09 23:25:45 +00:00
implemented reset of config
This commit is contained in:
parent
2ee16f6452
commit
8a3bd49686
5 changed files with 47 additions and 4 deletions
|
@ -18,7 +18,7 @@ async function loadData() {
|
|||
}
|
||||
}
|
||||
|
||||
function writeDataToInput(data) {
|
||||
export function writeDataToInput(data) {
|
||||
console.log("write data", typeof data);
|
||||
for (const [key, value] of Object.entries(data)) {
|
||||
const element = document.querySelector(`[name=${key}]`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue