From e6d8ad0ee04d86ffc0b7bfd4f6f62dad98852ad8 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Aug 2026 12:08:20 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20TDZ=20'u'=20=D0=B2=20UserProfileView=20c?= =?UTF-8?q?onsole.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/views/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/views/profile.js b/public/js/views/profile.js index 86363cb..644c7b4 100644 --- a/public/js/views/profile.js +++ b/public/js/views/profile.js @@ -221,7 +221,7 @@ const UserProfileView = { API.UserApi.get(this.userId), API.ReviewApi.stats(this.userId).catch(() => ({})), ]); - console.log('[UserProfile] loaded:', u && u.id, 'user:', JSON.stringify(user).slice(0,200), 'stats:', JSON.stringify(stats)); + console.log('[UserProfile] loaded: user:', JSON.stringify(user).slice(0,200), 'stats:', JSON.stringify(stats)); this.data = user.user || user; const u = this.data; const init = ((u.name || u.email || '?')[0] || '?').toUpperCase();