File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class QuenchResults extends HandlebarsApplicationMixin(ApplicationV2)<Que
4747 /**
4848 * The application's search filter, instantiated once when the app is created.
4949 */
50- // @ts -expect-error SearchFilter global access is deprecated, not in types yet though
50+ // @ts -expect-error SearchFilter types have not been updated yet
5151 #searchFilter = new foundry . applications . ux . SearchFilter ( {
5252 inputSelector : "input#quench-filter" ,
5353 contentSelector : "#quench-batches-list" ,
@@ -261,7 +261,9 @@ export class QuenchResults extends HandlebarsApplicationMixin(ApplicationV2)<Que
261261 const checkElement = ( element : HTMLElement , parentHasQuery = false ) : boolean => {
262262 // Whether the element itself matches the query
263263 const hasQuery = rgx . test (
264- SearchFilter . cleanQuery ( element . querySelector ( ".runnable-title" ) ?. textContent || "" ) ,
264+ foundry . applications . ux . SearchFilter . cleanQuery (
265+ element . querySelector ( ".runnable-title" ) ?. textContent || "" ,
266+ ) ,
265267 ) ;
266268 const runnables = [ ...( element . querySelector ( ".runnable-list" ) ?. children ?? [ ] ) ] ;
267269 // Whether any of the element's children match the query
You can’t perform that action at this time.
0 commit comments