We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 664cadc + da8451b commit cb2e1e0Copy full SHA for cb2e1e0
supervisor/shared/web_workflow/static/directory.js
@@ -63,6 +63,7 @@ async function refresh_list() {
63
var icon = "⬇";
64
var file_path = current_path + f.name;
65
let api_url = new URL("/fs" + file_path, url_base);
66
+ let edit_url = "/edit/#" + file_path;
67
if (f.directory) {
68
file_path = "#" + file_path + "/";
69
api_url += "/";
@@ -91,7 +92,7 @@ async function refresh_list() {
91
92
delete_button.disabled = !editable;
93
delete_button.onclick = del;
94
- let edit_url = new URL("/edit/#" + f.name, url_base);
95
+ edit_url = new URL(edit_url, url_base);
96
let edit_link = clone.querySelector(".edit_link");
97
edit_link.href = edit_url
98
0 commit comments