Commit 4d99f533 authored by Simon Knox's avatar Simon Knox

Merge branch...

Merge branch '290282-change-cache-policy-for-iteration_issues_summary_card-query-to-default' into 'master'

Change cache policy for iteration_issues_summary_stats query to default

See merge request gitlab-org/gitlab!49101
parents eb544aac 217ec6d6
<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