mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-16 18:25:21 -06:00
Update UIDashboard.js
This commit is contained in:
@@ -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>`;
|
||||
|
||||
Reference in New Issue
Block a user