feat(portfolio): enable the "Bulk excel import" entry point

The Add-properties menu had "Bulk excel import" disabled behind a "Soon" badge.
The bulk-upload flow exists (/portfolio/[id]/bulk-upload), so make the item
clickable and route to it, matching the "Search by postcode" item.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-07-07 11:05:40 +00:00
parent 369485058b
commit f1cef2e643

View file

@ -654,21 +654,20 @@ export default function PropertyTable({
</span>
</DropdownMenuItem>
<DropdownMenuItem
disabled
className="flex items-start gap-3 rounded-lg p-3"
className="flex items-start gap-3 cursor-pointer rounded-lg p-3"
onSelect={() =>
router.push(`/portfolio/${portfolioId}/bulk-upload`)
}
>
<DocumentArrowUpIcon className="h-[18px] w-[18px] mt-0.5 text-gray-400 shrink-0" />
<DocumentArrowUpIcon className="h-[18px] w-[18px] mt-0.5 text-gray-700 shrink-0" />
<span className="flex-1">
<span className="block text-sm font-semibold text-gray-500">
<span className="block text-sm font-semibold text-gray-900">
Bulk excel import
</span>
<span className="block text-xs text-slate-400">
Upload a spreadsheet of addresses
</span>
</span>
<span className="text-[10px] font-bold uppercase tracking-wide bg-amber-100 text-amber-800 rounded-full px-2 py-0.5 shrink-0">
Soon
</span>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>