Skip to content

Commit

Permalink
fix(store/job)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisGray0626 committed Jul 24, 2024
1 parent 23ee330 commit c4fff81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export const useJobStore = defineStore("job", () => {
}
}

const breakdownData = computed(() => job2G6TreeGraph(_job?.value));
const breakdownData = computed(() => job2G6TreeGraph(_job!.value));

Check failure on line 29 in src/store/job.ts

View workflow job for this annotation

GitHub Actions / build (18.x, chrisgray0626/gis-agent-frontend, 0.2)

Argument of type 'Task | undefined' is not assignable to parameter of type 'Task'.

const workflowData = computed(() => jobLeafNode2G6Graph(_job?.value));
const workflowData = computed(() => jobLeafNode2G6Graph(_job!.value));

Check failure on line 31 in src/store/job.ts

View workflow job for this annotation

GitHub Actions / build (18.x, chrisgray0626/gis-agent-frontend, 0.2)

Argument of type 'Task | undefined' is not assignable to parameter of type 'Task'.

return { updateData, breakdownData, workflowData };
});

0 comments on commit c4fff81

Please sign in to comment.