Обновить учёт поддержки, лайки и профиль перед MVP

This commit is contained in:
AidarKC
2026-12-02 00:01:51 +03:00
parent d05d9db8a2
commit af0beccb4a
21 changed files with 109 additions and 57 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ import { createErrorState, createLoadingState } from '../components/feedback.js'
import { toUserMessage } from '../services/ui-error-texts.js';
import { makeProfileLinksRoute } from '../services/shine-routes.js';
import { navigateBack } from '../router.js';
import { profileCardHtml, profileTileHtml } from '../components/profile-card.js';
import { profileCardHtml, profileTileHtml, attachProfileDetails } from '../components/profile-card.js';
import { iconHtml } from '../components/ui-icon.js';
export const pageMeta = { id: 'user', get title() { return t('screens.user_profile_view.text_001'); } };
@@ -72,6 +72,7 @@ export function render({ navigate, route, chrome }) {
])].join(''),
});
attachProfileDetails(body);
attachSupportStats(body, { login: card.login, isActive: () => !disposed });
syncRelationTile();