Commit 56c0588d authored by David O'Regan's avatar David O'Regan

Fix: Update Alert Settings to use writeQuery

parent d89150d5
...@@ -3,12 +3,15 @@ import Vue from 'vue'; ...@@ -3,12 +3,15 @@ import Vue from 'vue';
import { parseBoolean } from '~/lib/utils/common_utils'; import { parseBoolean } from '~/lib/utils/common_utils';
import AlertSettingsWrapper from './components/alerts_settings_wrapper.vue'; import AlertSettingsWrapper from './components/alerts_settings_wrapper.vue';
import apolloProvider from './graphql'; 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: { data: {
currentIntegration: null, currentIntegration: null,
}, },
}); });
Vue.use(GlToast); Vue.use(GlToast);
export default (el) => { 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