Fixes for refresh stream subscriptions

This will make the system listen for changes via the filtered
collections, when any, or via all the collections otherwise.
This commit is contained in:
Jorge Manrubia
2025-10-31 12:25:05 +01:00
parent 958deab2c7
commit 1a78de6f71
8 changed files with 17 additions and 13 deletions
@@ -13,8 +13,7 @@ export default class extends Controller {
}
connect() {
this.labelTarget.textContent = this.#selectedLabel
this.#updateHiddenFields()
this.refresh()
}
change(event) {
@@ -24,6 +23,10 @@ export default class extends Controller {
}
}
refresh() {
this.labelTarget.textContent = this.#selectedLabel
this.#updateHiddenFields()
}
clear(event) {
this.#deselectAll()