feat(ui): remove KI/Automation from agents sidebar, add automation to start page, remove from topbar
This commit is contained in:
@@ -170,14 +170,6 @@ export function TopBar() {
|
||||
{t('topbar.settings')}
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
onClick={() => { setUserMenuOpen(false); navigate('/automation'); }}
|
||||
className="w-full text-left px-3 py-2 text-sm hover:bg-secondary-50 min-h-touch focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 flex items-center gap-2"
|
||||
role="menuitem"
|
||||
>
|
||||
<Zap className="w-4 h-4" aria-hidden="true" strokeWidth={2} />
|
||||
{t('nav.automation', 'Automation')}
|
||||
</button>
|
||||
{canAccess('audit:read') && (
|
||||
<button
|
||||
onClick={() => { setUserMenuOpen(false); navigate('/audit-log'); }}
|
||||
|
||||
Reference in New Issue
Block a user