diff --git a/apps/web/src/lib/components/Sidebar.svelte b/apps/web/src/lib/components/Sidebar.svelte index fe64cde..bc99b9f 100644 --- a/apps/web/src/lib/components/Sidebar.svelte +++ b/apps/web/src/lib/components/Sidebar.svelte @@ -9,7 +9,7 @@ import NotificationBell from '$lib/components/chat/NotificationBell.svelte'; import ChatWidget from '$lib/components/chat/ChatWidget.svelte'; import PresenceManager from '$lib/components/chat/PresenceManager.svelte'; - import { getAvatarUrl } from '$lib/utils/avatarGenerator'; + import { Menu, User, Home, UserPlus, XCircle, LogIn, Tag, Plus, Check } from 'lucide-svelte'; import { authClient } from '$lib/auth'; import { resolve } from '$app/paths'; @@ -33,8 +33,8 @@ return currentUser.data.avatar; } - // Fallback: gerar avatar baseado no nome - return getAvatarUrl(currentUser.data.nome); + // Fallback: retornar null para usar o ícone User do Lucide + return null; }); // Função para gerar classes do menu ativo @@ -328,8 +328,9 @@ >Contato • - SuporteSuporte • Dashboard - {#each setores as s} + {#each setores as s (s.link)} {@const isActive = currentPath.startsWith(s.link)}