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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user