From a860b003106c19529986954eca224fb603fefa86 Mon Sep 17 00:00:00 2001 From: DCCONSTRUCTIONS Date: Wed, 30 Sep 2026 21:27:53 +0300 Subject: [PATCH] fix(ui): align project overview counts and complete functional labels --- .../device-manager/src/DeviceControlViews.tsx | 12 ++--- apps/device-manager/src/DeviceManagerApp.tsx | 48 +++++++++++-------- apps/device-manager/src/b2/B2HostSettings.tsx | 2 +- apps/device-manager/src/b2/useB2Inventory.ts | 9 ++-- apps/device-manager/src/presentationLabels.ts | 42 ++++++++++++++++ 5 files changed, 80 insertions(+), 33 deletions(-) create mode 100644 apps/device-manager/src/presentationLabels.ts diff --git a/apps/device-manager/src/DeviceControlViews.tsx b/apps/device-manager/src/DeviceControlViews.tsx index 433576f..2e65272 100644 --- a/apps/device-manager/src/DeviceControlViews.tsx +++ b/apps/device-manager/src/DeviceControlViews.tsx @@ -1,4 +1,5 @@ import { Children, isValidElement, useEffect, useMemo, useRef, useState, type FormEvent, type ReactNode } from "react"; +import { auditEventLabel, capabilityLabel, projectRoleLabel } from './presentationLabels'; import { Button, ConfirmationModal, @@ -1056,7 +1057,6 @@ function CommandsView({ workspace, canDispatch, onRefresh, onError }: { ? "Выберите устройство и введите его шестизначный код." : "Для этого подключения отправка команд ещё не настроена."}
Ключи приложений ещё не выданы