Skip to content

Commit d20c661

Browse files
authored
update dispatch.js
1 parent 5996151 commit d20c661

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dispatch/templates/js/dispatch.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ function ListFiles() {
2929
"pageLength": 50,
3030
"aoColumns": [
3131
{
32-
"mData" : null,
32+
"mData": null,
3333
"mRender": function (o) {
3434
return '<a href="/file/edit?id=' +
35-
o['id'] +
36-
'" title="Click to Edit">' + o['filename'] +
37-
" " + `${o['encrypt'] ? "🔒" : ""}` +
38-
`${o['access'] == 1 ? "🌐" : ""}`+
39-
'</span>';
35+
o['id'] +
36+
'" title="Click to Edit">' + o['filename'] +
37+
" " + `${o['encrypt'] ? "🔒" : ""}` +
38+
`${(o['access'] == 1 || o['access'] == 2) ? "🌐" : ""}` +
39+
'</a>';
4040
}
4141
},
4242
{

0 commit comments

Comments
 (0)