ci: Enforce code formatting on editor-ui (no-changelog) (#5022)

* ci: Enforce code formatting on editor-ui (no-changelog)

* pnpm format on all frontend code
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-12-23 13:37:32 +01:00
committed by GitHub
parent ff810794ef
commit a12606828e
13 changed files with 55 additions and 33 deletions

View File

@@ -945,8 +945,8 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
this.currentWorkflowExecutions.splice(this.currentWorkflowExecutions.indexOf(execution), 1);
},
addToCurrentExecutions(executions: IExecutionsSummary[]): void {
executions.forEach(execution => {
const exists = this.currentWorkflowExecutions.find(ex => ex.id === execution.id);
executions.forEach((execution) => {
const exists = this.currentWorkflowExecutions.find((ex) => ex.id === execution.id);
if (!exists && execution.workflowId === this.workflowId) {
this.currentWorkflowExecutions.push(execution);
}