No need to use extra method here

This commit is contained in:
Jorge Manrubia
2025-09-29 13:03:54 +02:00
parent 1a46199199
commit 859a016a2e
2 changed files with 1 additions and 9 deletions
@@ -20,14 +20,6 @@ export default class extends Controller {
this.#refreshSaveToggleButton()
}
resetIfBlankAndNoFiltering(event) {
const { target } = event
if (!target.value.trim() && !this.#hasFiltersSet) {
this.#showNoFilteringUrl();
event.stopImmediatePropagation()
}
}
resetIfNoFiltering(event) {
if (!this.#hasFiltersSet) {
this.#showNoFilteringUrl()