Commit 217ec6d6 authored by NataliaTepluhina's avatar NataliaTepluhina

Added id to the query to prevent inviolation error

parent 157d1a60
<script> <script>
import { __ } from '~/locale'; import { __ } from '~/locale';
import { fetchPolicies } from '~/lib/graphql';
import IterationReportSummaryCards from './iteration_report_summary_cards.vue'; import IterationReportSummaryCards from './iteration_report_summary_cards.vue';
import summaryStatsQuery from '../queries/iteration_issues_summary_stats.query.graphql'; import summaryStatsQuery from '../queries/iteration_issues_summary_stats.query.graphql';
...@@ -10,7 +9,6 @@ export default { ...@@ -10,7 +9,6 @@ export default {
}, },
apollo: { apollo: {
issues: { issues: {
fetchPolicy: fetchPolicies.NO_CACHE,
query: summaryStatsQuery, query: summaryStatsQuery,
variables() { variables() {
return this.queryVariables; return this.queryVariables;
......
query IterationIssuesSummaryStats($id: ID!) { query IterationIssuesSummaryStats($id: ID!) {
iteration(id: $id) { iteration(id: $id) {
id
report { report {
stats { stats {
total { total {
......
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