feat: Add voice management functionality with delete capability and UI integration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Menu, LogOut, Users, Settings, Globe, Home } from 'lucide-react'
|
||||
import { Menu, LogOut, Users, Settings, Globe, Home, Mic } from 'lucide-react'
|
||||
import { Link, useLocation } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { Button } from '@/components/ui/button'
|
||||
@@ -43,6 +43,12 @@ export function Navbar({ onToggleSidebar }: NavbarProps) {
|
||||
</Link>
|
||||
)}
|
||||
|
||||
<Link to="/voices">
|
||||
<Button variant="ghost" size="icon">
|
||||
<Mic className="h-5 w-5" />
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
{user?.is_superuser && (
|
||||
<Link to="/users">
|
||||
<Button variant="ghost" size="icon">
|
||||
|
||||
Reference in New Issue
Block a user