fix: (regression 0.53.0) plugins/download-counter: wasn't displayed in file-menu #771
Massimo Melina committed
Oct 10, 2024 at 13:01 UTC
0434a78ad326f3248d3227e2c98732ca1d439f80
1 file changed
+1
-1
plugins/download-counter/public/main.js
+1
-1
@@ -8,6 +8,6 @@
8
9
HFS.onEvent('fileMenu', ({ entry, props }) => {
10
if (!entry.isFolder)
11
- props.push([label, entry.hits || 0])
11
+ props.push({ id: 'download-counter', label, value: entry.hits || 0 })
12
})
13
}
\ No newline at end of file