diff --git a/src/js/dashboard.js b/src/js/dashboard.js index 61ba82f..814e8c8 100644 --- a/src/js/dashboard.js +++ b/src/js/dashboard.js @@ -529,7 +529,7 @@ page.getUploads = (params = {}) => { if (params.filters) { headers.filters = params.filters // Send client timezone offset if properly using date: and/or :expiry filters - // Server will pretend client is on UTC if unset + // Server will assume client is on UTC if unset if (/(^|\s)(date|expiry):[\d"]/.test(params.filters)) { headers.minoffset = new Date().getTimezoneOffset() } @@ -734,7 +734,7 @@ page.getUploads = (params = {}) => { : '' } else if (typeof params.album === 'undefined') { files[i].appendix = files[i].albumid - ? albums[files[i].albumid] || '' + ? `[${files[i].albumid}] ${albums[files[i].albumid]}` || '' : '' } } @@ -851,7 +851,7 @@ page.getUploads = (params = {}) => { ${upload.name} ${showOriginalNames ? `${upload.original}` : ''} ${typeof params.album === 'undefined' ? `${upload.appendix}` : ''} - ${allAlbums ? `${upload.albumid ? (albums[upload.albumid] || '') : ''}` : ''} + ${allAlbums ? `${upload.albumid ? (`[${upload.albumid}] ${albums[upload.albumid]}` || '') : ''}` : ''} ${upload.prettyBytes} ${params.all ? `${upload.ip || ''}` : ''} ${upload.prettyDate}