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;
|
this.isLoading = false;
|
||||||
|
|
||||||
// Restart timer for next poll
|
if (!this.isEditing) {
|
||||||
this.timerId = window.setTimeout(() => {
|
// Restart timer for next poll
|
||||||
this.fetchWorkflow();
|
this.timerId = window.setTimeout(() => {
|
||||||
}, 1000 * POLL_INTERVAL_SECONDS);
|
this.fetchWorkflow();
|
||||||
|
}, 1000 * POLL_INTERVAL_SECONDS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user