diff --git a/supervisor/shared/web_workflow/static/directory.js b/supervisor/shared/web_workflow/static/directory.js index b2b76648c2..9dbe8384d6 100644 --- a/supervisor/shared/web_workflow/static/directory.js +++ b/supervisor/shared/web_workflow/static/directory.js @@ -91,6 +91,9 @@ async function refresh_list() { delete_button.disabled = !editable; delete_button.onclick = del; + let edit_url = new URL("/edit/#" + f.name, url_base); + let edit_link = clone.querySelector(".edit_link"); + edit_link.href = edit_url new_children.push(clone); }