Обновить учёт поддержки, лайки и профиль перед 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
@@ -5,7 +5,7 @@ import { state } from '../state.js';
import { attachProfileAvatarPreview } from '../components/profile-avatar-preview.js';
import { createTopBar } from '../components/topbar.js';
import { loadUserProfileCard } from '../services/user-connections.js';
import { profileCardHtml, profileTileHtml } from '../components/profile-card.js';
import { profileCardHtml, profileTileHtml, attachProfileDetails } from '../components/profile-card.js';
import { openShareSheet } from '../components/share-sheet.js';
import { createErrorState, createLoadingState } from '../components/feedback.js';
import { makeSharedProfileRoute } from '../services/shine-routes.js';
@@ -64,6 +64,7 @@ export function render({ navigate, chrome }) {
].join(''),
});
attachProfileDetails(body);
attachSupportStats(body, { login: card.login || login, isActive: () => !disposed });
avatarPreview = attachProfileAvatarPreview(body.querySelector('.user-profile-avatar-slot'), card);