Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
56c0588d
Commit
56c0588d
authored
Mar 23, 2021
by
David O'Regan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Update Alert Settings to use writeQuery
parent
d89150d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/alerts_settings/index.js
app/assets/javascripts/alerts_settings/index.js
+4
-1
No files found.
app/assets/javascripts/alerts_settings/index.js
View file @
56c0588d
...
@@ -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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment