From 9c84717169cdbdeabd0f87ef670a2e6cb392ba7f Mon Sep 17 00:00:00 2001 From: Nikola Stoyanov <15874342+drnecrotix@users.noreply.github.com> Date: Tue, 11 Aug 2026 17:19:50 +0300 Subject: [PATCH] fix(web): improve SmartSearch status accessibility --- apps/web/app/components/SmartSearch.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/apps/web/app/components/SmartSearch.tsx b/apps/web/app/components/SmartSearch.tsx index 2b98b8f15..c0ba9bc6b 100644 --- a/apps/web/app/components/SmartSearch.tsx +++ b/apps/web/app/components/SmartSearch.tsx @@ -256,18 +256,13 @@ export function SmartSearch({ Всички резултати за „{query.trim()}" → )} - - {!hasResults && !loading && ( -
  • - Няма съвпадения. Пробвай с име, ЕИК или УНП. -
  • - )} - {!hasResults && loading && ( -
  • - Търсене… -
  • - )} + + {!hasResults && ( +
    + {loading ? 'Търсене…' : 'Няма съвпадения. Пробвай с име, ЕИК или УНП.'} +
    + )} );