Skip to content

Commit

Permalink
fix: fix controlhub cronjobs list
Browse files Browse the repository at this point in the history
  • Loading branch information
yongheng2016 committed Aug 20, 2024
1 parent d14157e commit 2cd8ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/adminConsole/src/pages/Jobs/IndexPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ const fetchData = async (showLoading = true) => {
}
try {
const {
data: { items: jobsItem1 }
data: { items: jobsItem1 = [] }
} = await getJobs(jobType[0], params);
const {
data: { items: jobsItem2 }
data: { items: jobsItem2 = [] }
} = await getJobs(jobType[1], params);
const data1: any = jobsItem1.map((item) => ObjectMapper[jobType[1]](item));
Expand Down

0 comments on commit 2cd8ecc

Please sign in to comment.