UI: обновлены профиль/связи, статусы отношений и фикс верхней панели (работает)

This commit is contained in:
AidarKC
2026-04-26 19:13:08 +03:00
parent 28bbdb8b7c
commit da12521517
6 changed files with 111 additions and 34 deletions
-1
View File
@@ -182,7 +182,6 @@ export function render({ navigate }) {
const item = currentToggles.find((entry) => entry.key === toggleKey);
const isEnabled = Boolean(item?.enabled);
if (toggleKey === 'official') {
status.className = 'status-line is-available';
if (statusLineEl instanceof HTMLElement) statusLineEl.className = 'status-line is-available';
if (statusLineEl instanceof HTMLElement) statusLineEl.textContent = isEnabled
? 'Аккаунт является официальным.'