feat: hide search input when list is empty and add animated city selector highlight

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 14:14:04 +03:00
parent fbf6b0dc9d
commit 7e539f550b
12 changed files with 111 additions and 50 deletions

View File

@@ -174,7 +174,9 @@ export const VehicleListPage = observer(() => {
/>
</div>
<SearchInput value={searchQuery} onChange={setSearchQuery} />
{rows.length > 0 && (
<SearchInput value={searchQuery} onChange={setSearchQuery} />
)}
{canWriteVehicles && ids.length > 0 && (
<div className="flex justify-end mb-5 duration-300">