Commit bd1042a3 authored by David O'Regan's avatar David O'Regan

Merge branch '325674-alert-management' into 'master'

Fix: Update Alert Management to use writeQuery

See merge request gitlab-org/gitlab!57364
parents d48de25d 8ee8a252
......@@ -5,6 +5,7 @@ import createDefaultClient from '~/lib/graphql';
import { parseBoolean } from '~/lib/utils/common_utils';
import { PAGE_CONFIG } from '~/vue_shared/alert_details/constants';
import AlertManagementList from './components/alert_management_list_wrapper.vue';
import alertsHelpUrlQuery from './graphql/queries/alert_help_url.query.graphql';
Vue.use(VueApollo);
......@@ -41,7 +42,8 @@ export default () => {
),
});
apolloProvider.clients.defaultClient.cache.writeData({
apolloProvider.clients.defaultClient.cache.writeQuery({
query: alertsHelpUrlQuery,
data: {
alertsHelpUrl,
},
......
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