feat: Add voice management functionality with delete capability and UI integration

This commit is contained in:
2026-03-06 14:35:59 +08:00
parent ad90e5f96c
commit 964ebb824c
17 changed files with 224 additions and 21 deletions

View File

@@ -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">