Commit 3b11eac9 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '325678-alert-settings' into 'master'

Fix: Update Alert Settings to use writeQuery

See merge request gitlab-org/gitlab!57264
parents a6d5966a 56c0588d
......@@ -3,12 +3,15 @@ import Vue from 'vue';
import { parseBoolean } from '~/lib/utils/common_utils';
import AlertSettingsWrapper from './components/alerts_settings_wrapper.vue';
import apolloProvider from './graphql';
import getCurrentIntegrationQuery from './graphql/queries/get_current_integration.query.graphql';
apolloProvider.clients.defaultClient.cache.writeData({
apolloProvider.clients.defaultClient.cache.writeQuery({
query: getCurrentIntegrationQuery,
data: {
currentIntegration: null,
},
});
Vue.use(GlToast);
export default (el) => {
......
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