Updated dashboard.js

Fixed table row when file is not in an album.

Sigh, I always miss something..
This commit is contained in:
Bobby Wibowo 2019-09-15 13:39:03 +07:00
parent c9ba16e1d6
commit a362d63e25
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -621,7 +621,7 @@ page.getUploads = (params = {}) => {
tr.innerHTML = ` tr.innerHTML = `
<td class="controls"><input type="checkbox" class="checkbox" title="Select" data-index="${i}" data-action="select"${upload.selected ? ' checked' : ''}></td> <td class="controls"><input type="checkbox" class="checkbox" title="Select" data-index="${i}" data-action="select"${upload.selected ? ' checked' : ''}></td>
<th><a href="${upload.file}" target="_blank" rel="noopener" title="${upload.file}">${upload.name}</a></th> <th><a href="${upload.file}" target="_blank" rel="noopener" title="${upload.file}">${upload.name}</a></th>
${upload.appendix ? `<th>${upload.appendix}</th>` : ''} ${params.album === undefined ? `<th>${upload.appendix}</th>` : ''}
<td>${upload.prettyBytes}</td> <td>${upload.prettyBytes}</td>
${params.all ? `<td>${upload.ip || ''}</td>` : ''} ${params.all ? `<td>${upload.ip || ''}</td>` : ''}
<td>${upload.prettyDate}</td> <td>${upload.prettyDate}</td>

View File

@ -16,7 +16,7 @@
v3: CSS and JS files (libs such as bulma, lazyload, etc). v3: CSS and JS files (libs such as bulma, lazyload, etc).
v4: Renders in /public/render/* directories (to be used by render.js). v4: Renders in /public/render/* directories (to be used by render.js).
#} #}
{% set v1 = "fFS2CGH95j" %} {% set v1 = "23xR9kTFtk" %}
{% set v2 = "hiboQUzAzp" %} {% set v2 = "hiboQUzAzp" %}
{% set v3 = "fFS2CGH95j" %} {% set v3 = "fFS2CGH95j" %}
{% set v4 = "S3TAWpPeFS" %} {% set v4 = "S3TAWpPeFS" %}