fix: align shared account folders with primary folders #151

This commit is contained in:
Linus Rath
2026-04-08 13:45:31 +02:00
parent b29e71124d
commit b2379fb03f
2 changed files with 14 additions and 45 deletions
-5
View File
@@ -18,7 +18,6 @@ import {
ChevronDown,
Folder,
FolderOpen,
Users,
User,
Palmtree,
Settings,
@@ -59,10 +58,6 @@ interface SidebarProps {
const getIconForMailbox = (role?: string, name?: string, hasChildren?: boolean, isExpanded?: boolean, isShared?: boolean, id?: string) => {
const lowerName = name?.toLowerCase() || "";
if (id === 'shared-folders-root') {
return isExpanded ? FolderOpen : Users;
}
if (id?.startsWith('shared-account-')) {
return isExpanded ? FolderOpen : User;
}