hotfix: prevent polling during workflow edit
This commit is contained in:
		
							parent
							
								
									937ad4fe08
								
							
						
					
					
						commit
						e6e46b522a
					
				| @ -191,11 +191,13 @@ export class WorkflowDetail extends LiteElement { | ||||
| 
 | ||||
|     this.isLoading = false; | ||||
| 
 | ||||
|     if (!this.isEditing) { | ||||
|       // Restart timer for next poll
 | ||||
|       this.timerId = window.setTimeout(() => { | ||||
|         this.fetchWorkflow(); | ||||
|       }, 1000 * POLL_INTERVAL_SECONDS); | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   render() { | ||||
|     if (this.isEditing && this.isCrawler) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user