Add support for updating existing filters

This commit is contained in:
Sam Carlton 2022-06-04 19:49:36 -05:00
parent 3d8bd0d61d
commit 62401d1f76
2 changed files with 14 additions and 3 deletions

View file

@ -284,7 +284,7 @@ export class StorkFilters {
filterValue = filterValue || fromString.value
// If the filter is already set, remove it
if ( this.hasFilter( filterName ) ) {
if ( this.hasFilter( filterNameOrQueryValue ) ) {
this.removeFilter( filterName )
return