Skip to content

Commit 328fe4d

Browse files
minor cleanup
1 parent 52bd028 commit 328fe4d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

supervisor/shared/web_workflow/static/directory.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ async function refresh_list() {
7171
// Remove the delete button
7272
td[4].replaceChildren();
7373

74-
var dataCell = td[sort_column];
75-
7674
var sortdata = {};
77-
sortdata.value = dataCell.textContent.toLowerCase().trim();
75+
sortdata.value = "..";
7876
sortdata.index = index;
7977
dirCells.push(sortdata);
8078
index += 1;
@@ -86,8 +84,6 @@ async function refresh_list() {
8684
// Clone the new row and insert it into the table
8785
var clone = template.content.cloneNode(true);
8886
var td = clone.querySelectorAll("td");
89-
var dataCell = td[sort_column];
90-
9187
var icon = "⬇";
9288
var file_path = current_path + f.name;
9389
let api_url = new URL("/fs" + file_path, url_base);

0 commit comments

Comments
 (0)