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