sidebar: fix child not found in stack errors

This commit is contained in:
2 * r + 2 * t 2025-03-27 16:19:03 +11:00
parent 40df92026c
commit 19942b8fca

View file

@ -143,7 +143,7 @@ export default () => {
const players = Players.get_default();
const active = Variable(players.lastPlayer?.busName ?? "none");
active.observe(players, "notify::last-player", () => {
active.observe(players, "notify::list", () => {
timeout(10, () => active.set(players.lastPlayer?.busName ?? "none"));
return "none";
});