upload: clearer UI

Massimo Melina committed May 23, 2025 at 13:30 UTC 8fb5b102643c06da41842894139f58b58ae775e4
1 file changed +2 -2
frontend/src/upload.ts
+2 -2
@@ -117,11 +117,11 @@ export function showUpload() {
117 h(UploadStatus, { margin: '.5em 0' }),
118 qs.length > 0 && h('div', {},
119 h(Flex, { center: true, borderTop: '1px dashed', padding: '.5em' },
120 - [queueStr, etaStr, speed && formatSpeed(speed)].filter(Boolean).join(', '),
120 + [etaStr, speed && formatSpeed(speed), queueStr].filter(Boolean).join(', '),
121 inQ > 0 && iconBtn('delete', ()=> {
122 uploadState.qs = []
123 abortCurrentUpload()
124 - }),
124 + }, { title: t`Clear` }),
125 inQ > 0 && iconBtn(paused ? 'play' : 'pause', () => {
126 uploadState.paused = !uploadState.paused
127 if (!everPaused) {