Access Manage Labels through label input

This commit is contained in:
Alex Gleason committed 2025-12-05 17:21:05 -06:00
1 parent 6899220f27
commit dea9288fd4
3 files changed
+12 -3

No files matched your search

+11 -1
View File
@@ -1,6 +1,6 @@
import { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Check, Plus, Tag, X } from 'lucide-react';
import { Check, Plus, Tag, X, Settings } from 'lucide-react';
import { Button } from '@/components/ui/button';
import {
Popover,
@@ -215,6 +215,16 @@ export function LabelSelector({ projectId, compact }: LabelSelectorProps) {
{t('createNewLabel')}
</button>
)}
<button
onClick={() => {
setManageDialogOpen(true);
setOpen(false);
}}
className="w-full flex items-center gap-2 px-2 py-1.5 rounded-md text-sm hover:bg-muted transition-colors"
>
<Settings className="h-4 w-4" />
{t('manageLabels')}
</button>
</div>
</PopoverContent>
</Popover>