Update UIDashboard.js

This commit is contained in:
jelveh
2025-12-15 20:50:59 -08:00
parent ed51a042b4
commit 1e864b4bd5

View File

@@ -94,7 +94,7 @@ async function UIDashboard (options) {
// User options button at bottom
h += '<div class="dashboard-user-options hide-scrollbar">';
h += `<div class="dashboard-user-btn hide-scrollbar">`;
h += `<div class="dashboard-user-avatar" style="background-image: url(${window.user?.profile?.picture || window.icons['profile.svg']})"></div>`;
h += `<div class="dashboard-user-avatar profile-pic" style="background-image: url(${window.user?.profile?.picture || window.icons['profile.svg']})"></div>`;
h += `<span class="dashboard-user-name">${html_encode(window.user?.username || 'User')}</span>`;
h += `<svg class="dashboard-user-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>`;
h += `</div>`;