fix(ui): align project overview counts and complete functional labels
Device Core qualification / qualify (push) Successful in 8m43s

This commit is contained in:
DCCONSTRUCTIONS
2026-09-30 21:27:53 +03:00
parent b3b0f900c5
commit a860b00310
5 changed files with 80 additions and 33 deletions
@@ -116,7 +116,7 @@ export function B2HostSettings({ host, workspace, onClose, onChanged, onError }:
<ResourceList>{apps.map(applicationRow)}</ResourceList>
{!apps.length && creating !== item.projectRef ? <p>Ключи приложений ещё не выданы</p> : null}
{creating === item.projectRef ? <div className="b2-settings">
<TextField label="Название приложения" value={name} disabled={busy || Boolean(creationIntent)} maxLength={160} onChange={(event) => setName(event.target.value)} />
<TextField label="Название приложения" autoFocus value={name} disabled={busy || Boolean(creationIntent)} maxLength={160} onChange={(event) => setName(event.target.value)} />
<div className="b2-actions"><Button disabled={busy} onClick={() => { setCreating(''); setCreationIntent(null); }}>Отмена</Button><Button loading={pending === 'application-connect'} disabled={busy || !name.trim()} onClick={() => {
const intent = creationIntent || { id: crypto.randomUUID().replaceAll('-', ''), name: name.trim() };
setCreationIntent(intent);