fix: (regression 0.55.2) upload: progress bar not visible

Massimo Melina committed Jan 15, 2025 at 15:15 UTC bd8245631ee86f88d74b28945fb04f9ec321f3e4
1 file changed +1 -1
frontend/src/upload.ts
+1 -1
@@ -169,7 +169,7 @@ function FilesList({ entries, actions }: { entries: ToUpload[], actions: { [icon
169 return !snapEntries.length ? null : h('table', { className: 'upload-list', width: '100%' },
170 h('tbody', {},
171 snapEntries.slice(0, MAX).map((e, i) => {
172 - const working = e === uploading
172 + const working = e.file === uploading?.file // e is a proxy, so we check 'file' as it's a ref
173 return h(Fragment, { key: i },
174 h('tr', {},
175 h('td', { className: 'nowrap '}, ..._.map(actions, (cb, icon) =>