Fix: Kuratoren-Scope für Specials & Audio-Playback im Curator-Dashboard

This commit is contained in:
Hördle Bot
2025-12-03 13:25:43 +01:00
parent f691384a34
commit 5e1700712e
2 changed files with 30 additions and 5 deletions

View File

@@ -332,6 +332,12 @@ export default function CuratorPage() {
setPlayingSongId(null);
setAudioElement(null);
});
// Reset Zustand, wenn der Track zu Ende gespielt ist
audio.onended = () => {
setPlayingSongId(null);
setAudioElement(null);
};
}
};