@@ -8,18 +8,13 @@ const ICONS = {
88 '/library/documents' : 'fas fa-file-word' ,
99 '/library/media' : 'fas fa-photo-video' ,
1010 '/library/projects' : 'fas fa-coffee' ,
11- '/system' : 'fas fa-cog' ,
12- '/system/drives' : 'fas fa-hdd' ,
13- '/system/templates' : 'fas fa-drafting-compass' ,
14- '/system/webterm' : 'fas fa-terminal'
11+ '/system' : 'fas fa-cog'
1512 } ,
16- person : {
13+ common : {
1714 '/comments' : 'fas fa-comment' ,
1815 '/follows' : 'fas fa-user-friends' ,
1916 '/posts' : 'fa fa-rss' ,
2017 '/votes' : 'fas fa-vote-yea'
21- } ,
22- common : {
2318 }
2419}
2520
@@ -54,7 +49,7 @@ export function toSemanticItemGroups (items) {
5449 for ( let i of items ) {
5550 if ( i . stat . mount && i . stat . mount . key ) {
5651 switch ( i . mount . type ) {
57- case 'unwalled.garden/person ' : add ( 'users' , 'Users' , i ) ; break
52+ case 'user ' : add ( 'users' , 'Users' , i ) ; break
5853 case 'website' : add ( 'websites' , 'Websites' , i ) ; break
5954 case 'application' : add ( 'applications' , 'Applications' , i ) ; break
6055 case 'webterm.sh/cmd-pkg' : add ( 'commands' , 'Webterm Commands' , i ) ; break
@@ -80,8 +75,8 @@ export function toSemanticItemGroups (items) {
8075export function getSubicon ( driveKind , item ) {
8176 if ( driveKind === 'root' ) {
8277 return ICONS . root [ item . realPath ] || ICONS . common [ item . realPath ]
83- } else if ( driveKind === 'person' ) {
84- return ICONS . person [ item . realPath ] || ICONS . common [ item . realPath ]
78+ } else {
79+ return ICONS . common [ item . realPath ] || ICONS . common [ item . realPath ]
8580 }
8681}
8782
0 commit comments