@samitouri / QOSami-HFS / commits / f6204582

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 f6204582ee13ce0031d02a0aaebc862dc3bfa5c6
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