use folder icon for web-folders
Massimo Melina committed
Nov 30, 2023 at 23:51 UTC
c106b28a2a4985316b0f3c7f132335b789891110
1 file changed
+1
-1
frontend/src/state.ts
+1
-1
@@ -132,7 +132,7 @@ export class DirEntry {
132
}
133
134
getDefaultIcon() {
135
- return hIcon(this.icon ?? (this.isFolder ? 'folder' : this.web || this.url ? 'link' : ext2type(this.ext) || 'file'))
135
+ return hIcon(this.icon ?? (this.isFolder || this.web ? 'folder' : this.url ? 'link' : ext2type(this.ext) || 'file'))
136
}
137
}
138
export type DirList = DirEntry[]