Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdchang committed Jan 30, 2025
1 parent cbaa11f commit 3a747f3
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ import { useRouter, useRoute } from 'vue-router';
import { MenuItem } from 'primevue/menuitem';
import * as EventService from '@/services/event';
import { useProjects } from '@/composables/project';
import useAuthStore from '@/stores/auth';
// import useAuthStore from '@/stores/auth';
import { cloneNoteBookSession } from '@/services/notebook-session';
import * as SimulateCiemssOp from '@/components/workflow/ops/simulate-ciemss/mod';
import * as StratifyMiraOp from '@/components/workflow/ops/stratify-mira/mod';
Expand All @@ -239,7 +239,7 @@ import { activeProjectId } from '@/composables/activeProject';
const WORKFLOW_SAVE_INTERVAL = 4000;
const currentUserId = useAuthStore().user?.id;
// const currentUserId = useAuthStore().user?.id;
const registry = new workflowService.WorkflowRegistry();
registry.registerOp(SimulateCiemssOp);
Expand Down Expand Up @@ -312,8 +312,8 @@ const _updateWorkflow = (event: ClientEvent<any>) => {
return;
}
const delayUpdate = isDragging || event.userId === currentUserId;
wf.value.update(event.data as Workflow, delayUpdate);
// const delayUpdate = isDragging || event.userId === currentUserId;
wf.value.update(event.data as Workflow);
};
const nodeStateMap: Map<string, any> = new Map();
Expand All @@ -331,7 +331,7 @@ const saveNodeStateHandler = debounce(async () => {
const debounceSaveWorkflowPositions = debounce(() => {
saveWorkflowPositions();
}, 250);
}, 100);
async function appendInput(
node: WorkflowNode<any>,
Expand All @@ -351,7 +351,7 @@ async function appendInput(
};
const updatedWorkflow = await workflowService.appendInput(wf.value.getId(), node.id, inputPort);
wf.value.update(updatedWorkflow, false);
wf.value.update(updatedWorkflow);
}
/**
Expand Down

0 comments on commit 3a747f3

Please sign in to comment.