File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
frontend/src/features/crawl-workflows Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ type CrawlConfigParams = WorkflowParams & {
97
97
seeds : Seed [ ] ;
98
98
} ;
99
99
} ;
100
- type WorkflowRunParams = { runNow : boolean ; updateRunning : boolean } ;
100
+ type WorkflowRunParams = { runNow : boolean ; updateRunning ? : boolean } ;
101
101
102
102
const STEPS = SECTIONS ;
103
103
type StepName = ( typeof STEPS ) [ number ] ;
@@ -2010,9 +2010,12 @@ https://archiveweb.page/images/${"logo.svg"}`}
2010
2010
const config : CrawlConfigParams & WorkflowRunParams = {
2011
2011
...this . parseConfig ( ) ,
2012
2012
runNow : Boolean ( opts ?. runNow ) ,
2013
- updateRunning : Boolean ( opts ?. updateRunning ) ,
2014
2013
} ;
2015
2014
2015
+ if ( this . configId ) {
2016
+ config . updateRunning = Boolean ( opts ?. updateRunning ) ;
2017
+ }
2018
+
2016
2019
this . isSubmitting = true ;
2017
2020
2018
2021
try {
You can’t perform that action at this time.
0 commit comments