Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the filename on system default in table #157

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/public/secure/files.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">file Name on system</th>
<th scope="col">file Name</th>
<th scope="col">file Extension</th>
<th scope="col">file Size</th>
<th scope="col">Created At</th>
<th scope="col">expires</th>
<th scope="col">mediaType</th>
<th scope="col">original FileName</th>
<th scope="col">file Name on system</th>
<th scope="col">url</th>
</tr>
</thead>
Expand Down Expand Up @@ -193,13 +193,13 @@
case "entries":
return [
{ data: "id" },
{ data: "fileName", className: "col-filename" },
{ data: "originalFileName", className: "col-filename" },
{ data: "fileExtension", className: "col-fileext" },
{ data: "fileSize", render: sizeAsMB() },
{ data: "createdAt", render: customDate() },
{ data: "expires", render: renderNullField() },
{ data: "mediaType", render: renderNullField() },
{ data: "originalFileName" },
{ data: "fileName" },
{ data: "url" }
];
}
Expand Down