fix
All checks were successful
/ upload (release) Successful in 20s

This commit is contained in:
pavel 2026-02-24 02:17:41 +01:00
commit 6a47b867a4
2 changed files with 2 additions and 1 deletions

View file

@ -1051,7 +1051,7 @@ function renderSounds(sounds) {
item.className = 'sound-item'; item.className = 'sound-item';
// Only show delete button if user is creator or owner // Only show delete button if user is creator or owner
const canDelete = state.user && (state.user.id === sound.created_by_user_id || (state.guilds.find(g => g.id === state.selectedGuildId)?.owner_user_id === state.user.id)); const canDelete = state.me && (state.me.id === sound.created_by_user_id || (state.guilds.find(g => g.id === state.selectedGuildId)?.owner_user_id === state.me.id));
item.innerHTML = ` item.innerHTML = `
<div class="sound-icon">${sound.icon}</div> <div class="sound-icon">${sound.icon}</div>

View file

@ -716,6 +716,7 @@ select {
cursor: pointer; cursor: pointer;
transition: all var(--transition); transition: all var(--transition);
border: 1px solid transparent; border: 1px solid transparent;
position: relative;
} }
.sound-item:hover { .sound-item:hover {