fix: links shouldn't get a menu button
Massimo Melina committed
Mar 11, 2025 at 10:18 UTC
8c40d8b50a87a6506d2dfced30691929c01ae0d7
1 file changed
+1
-1
frontend/src/BrowseFiles.ts
+1
-1
@@ -332,7 +332,7 @@ const Entry = ({ entry, midnight, separator }: EntryProps) => {
332
entry.comment && h('div', { className: 'entry-comment' }, entry.comment),
333
h('div', { className: 'entry-panel' },
334
h(EntryDetails, { entry, midnight }),
335
- showingButton && iconBtn('menu', fileMenu, { className: 'file-menu-button' }),
335
+ showingButton && !isLink && iconBtn('menu', fileMenu, { className: 'file-menu-button' }),
336
),
337
h('div'),
338
)