Commit 78f3ed14 authored by Alexander Turinske's avatar Alexander Turinske

Remove todo for batching

- batching is done behind the scenes for graphql using
  https://www.apollographql.com/docs/link/links/batch-http/
parent d7bf5605
...@@ -55,7 +55,6 @@ export default { ...@@ -55,7 +55,6 @@ export default {
this.dismissSelectedVulnerabilities(); this.dismissSelectedVulnerabilities();
}, },
dismissSelectedVulnerabilities() { dismissSelectedVulnerabilities() {
// TODO: Batch vulnerability dismissal with https://gitlab.com/gitlab-org/gitlab/-/issues/214376
const promises = this.selectedVulnerabilities.map(vulnerability => const promises = this.selectedVulnerabilities.map(vulnerability =>
this.$apollo.mutate({ this.$apollo.mutate({
mutation: dismissVulnerability, mutation: dismissVulnerability,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment