From 3431897ac458d9f7652896d9a4cea11d9b5d8e18 Mon Sep 17 00:00:00 2001 From: lizerk Date: Wed, 11 Mar 2026 09:16:30 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B2=D1=81=D0=B5=D0=B3=D0=B4=D0=B0=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D1=83=20'=D0=9F=D0=BE=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D0=B0=D1=82=D1=8C=20=D0=B2=D1=81=D0=B5'=20=D0=B2?= =?UTF-8?q?=20NotificationCenter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Кнопка теперь отображается даже при пустом списке уведомлений, чтобы пользователь мог перейти на страницу /notifications --- .../src/components/NotificationCenter.tsx | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/NotificationCenter.tsx b/frontend/src/components/NotificationCenter.tsx index 753dd6af..c10e487f 100644 --- a/frontend/src/components/NotificationCenter.tsx +++ b/frontend/src/components/NotificationCenter.tsx @@ -186,16 +186,14 @@ export function NotificationCenter({ variant = 'default', isOpen: externalIsOpen {/* Футер */} - {notifications.length > 0 && ( -
- - Показать все уведомления - -
- )} +
+ + Показать все уведомления + +
)} @@ -288,11 +286,9 @@ export function NotificationPanel({ onClose }: { onClose?: () => void }) { )} - {notifications.length > 0 && ( -
- Показать все -
- )} +
+ Показать все +
); }