defined system icon for list
Massimo Melina committed
May 20, 2023 at 18:11 UTC
afe1bd0adf47bea524d74cbba6923e16da5e26ed
2 files changed
+2
-1
frontend/src/fileMenu.ts
+1
-1
@@ -17,7 +17,7 @@ export function openFileMenu(entry: DirEntry, ev: MouseEvent, addToMenu: FileMen
17
const menu = [
18
!cantDownload && { label: t`Download`, href: uri + (isFolder ? '?get=zip' : '?dl'), icon: 'download' },
19
...addToMenu,
20
- isFolder && { label: t`Get list`, href: uri + '?get=list&folders=*', icon: 'menu' }
20
+ isFolder && { label: t`Get list`, href: uri + '?get=list&folders=*', icon: 'list' }
21
]
22
const props = [
23
[t`Name`, entry.name],
frontend/src/icons.ts
+1
@@ -28,6 +28,7 @@ const SYS_ICONS = {
28
to_start: '◀',
29
to_end: '▶',
30
menu: '☰',
31
+ list: '☰:menu'
32
}
33
34
document.fonts.ready.then(async ()=> {