File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ type FilterBy = {
101101 name ?: string ;
102102 firstSeed ?: string ;
103103 schedule ?: boolean ;
104- isCrawlRunning ?: boolean ;
104+ isCrawlRunning ?: true ;
105105} ;
106106
107107/**
@@ -190,7 +190,7 @@ export class WorkflowsList extends BtrixElement {
190190 params . set ( key , value [ key ] ? "true" : "false" ) ;
191191 break ;
192192 case "isCrawlRunning" :
193- if ( value [ key ] ) {
193+ if ( value [ key ] as true | undefined ) {
194194 params . set ( key , "true" ) ;
195195 } else {
196196 params . delete ( key ) ;
@@ -208,7 +208,7 @@ export class WorkflowsList extends BtrixElement {
208208 schedule : params . has ( "schedule" )
209209 ? params . get ( "schedule" ) === "true"
210210 : undefined ,
211- isCrawlRunning : params . get ( "isCrawlRunning" ) === "true" ,
211+ isCrawlRunning : params . get ( "isCrawlRunning" ) === "true" || undefined ,
212212 } ;
213213 } ,
214214 ) ;
You can’t perform that action at this time.
0 commit comments