sidebar: fix child not found in stack errors
This commit is contained in:
parent
40df92026c
commit
19942b8fca
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue