From 78d380690ce7f52f148302334d4dc81b13afbf2f Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 17 Jan 2026 06:40:49 +0300 Subject: [PATCH] Update AdminUsers.tsx --- src/pages/AdminUsers.tsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/pages/AdminUsers.tsx b/src/pages/AdminUsers.tsx index 5339df7..b3e81a4 100644 --- a/src/pages/AdminUsers.tsx +++ b/src/pages/AdminUsers.tsx @@ -706,6 +706,14 @@ function UserDetailModal({ userId, onClose, onUpdate }: UserDetailModalProps) { Статус: {syncStatus.bot_subscription_status || '-'} +
+ До: + + {syncStatus.bot_subscription_end_date + ? new Date(syncStatus.bot_subscription_end_date).toLocaleDateString('ru-RU') + : '-'} + +
Трафик: {syncStatus.bot_traffic_used_gb.toFixed(2)} ГБ @@ -727,6 +735,14 @@ function UserDetailModal({ userId, onClose, onUpdate }: UserDetailModalProps) { Статус: {syncStatus.panel_status || '-'}
+
+ До: + + {syncStatus.panel_expire_at + ? new Date(syncStatus.panel_expire_at).toLocaleDateString('ru-RU') + : '-'} + +
Трафик: {syncStatus.panel_traffic_used_gb.toFixed(2)} ГБ @@ -749,7 +765,7 @@ function UserDetailModal({ userId, onClose, onUpdate }: UserDetailModalProps) {
Remnawave UUID
- {user.remnawave_uuid || 'Не привязан'} + {syncStatus?.remnawave_uuid || user.remnawave_uuid || 'Не привязан'}