A music player that connects to your cloud/distributed storage.

fix: webamp browser update select when signal changes

+9
+9
src/themes/webamp/browser/element.js
··· 71 71 const _results = this.$provider.value?.tracks(); 72 72 this.root().querySelector(".sunken-panel")?.scrollTo(0, 0); 73 73 }); 74 + 75 + this.effect(() => { 76 + const playlistId = this.$scope.value?.playlistId(); 77 + const select = this.root().querySelector("#playlist-select"); 78 + 79 + if (select) { 80 + /** @type {HTMLSelectElement} */ (select).value = playlistId ?? ""; 81 + } 82 + }); 74 83 } 75 84 76 85 // EVENTS