diff --git a/web/core/components/workspace/sidebar/favorites/favorite-item.tsx b/web/core/components/workspace/sidebar/favorites/favorite-item.tsx index 4ef38c8c2..79cd8dc56 100644 --- a/web/core/components/workspace/sidebar/favorites/favorite-item.tsx +++ b/web/core/components/workspace/sidebar/favorites/favorite-item.tsx @@ -135,7 +135,11 @@ export const FavoriteItem = observer( key={favorite.id} className={`${sidebarCollapsed ? "p-0 size-8 aspect-square justify-center mx-auto" : ""}`} > -
+
- {getIcon()} - - {!sidebarCollapsed && ( - - {favorite.entity_data ? favorite.entity_data.name : favorite.name} - - )} + + {getIcon()} + {!sidebarCollapsed && ( + + {favorite.entity_data ? favorite.entity_data.name : favorite.name} + + )} + {!sidebarCollapsed && (