Skip to content

Commit

Permalink
execute createing ekplaene in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
barbalex committed Feb 4, 2025
1 parent 83d9736 commit 8aab3d2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/components/EkPlan/Table/setEkplans/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,26 +109,6 @@ export const setEkplans = async ({
},
})
}
// serial execution:
// for (const jahr of kontrolljahre) {
// try {
// await client.mutate({
// mutation: mutationCreateEkplan,
// variables: {
// tpopId,
// jahr: jahr + ekfrequenzStartjahr,
// typ,
// },
// })
// } catch (error) {
// return enqueNotification({
// message: `Fehler beim Schaffen neuer EK-Pläne: ${error.message}`,
// options: {
// variant: 'error',
// },
// })
// }
// }
// 5. tell user how it went
let jahreList = kontrolljahre.join(', ')
const formatter = new Intl.ListFormat('de', {
Expand Down

0 comments on commit 8aab3d2

Please sign in to comment.