mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add support for updating existing filters
This commit is contained in:
parent
3d8bd0d61d
commit
62401d1f76
2 changed files with 14 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue