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
63ff4aa4
Commit
63ff4aa4
authored
Mar 24, 2021
by
NataliaTepluhina
Committed by
Natalia Tepluhina
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced writeData in design management
parent
f56372f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/design_management/index.js
app/assets/javascripts/design_management/index.js
+3
-1
No files found.
app/assets/javascripts/design_management/index.js
View file @
63ff4aa4
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
App
from
'
./components/app.vue
'
;
import
App
from
'
./components/app.vue
'
;
import
apolloProvider
from
'
./graphql
'
;
import
apolloProvider
from
'
./graphql
'
;
import
activeDiscussionQuery
from
'
./graphql/queries/active_discussion.query.graphql
'
;
import
createRouter
from
'
./router
'
;
import
createRouter
from
'
./router
'
;
export
default
()
=>
{
export
default
()
=>
{
...
@@ -8,7 +9,8 @@ export default () => {
...
@@ -8,7 +9,8 @@ export default () => {
const
{
issueIid
,
projectPath
,
issuePath
}
=
el
.
dataset
;
const
{
issueIid
,
projectPath
,
issuePath
}
=
el
.
dataset
;
const
router
=
createRouter
(
issuePath
);
const
router
=
createRouter
(
issuePath
);
apolloProvider
.
clients
.
defaultClient
.
cache
.
writeData
({
apolloProvider
.
clients
.
defaultClient
.
cache
.
writeQuery
({
query
:
activeDiscussionQuery
,
data
:
{
data
:
{
activeDiscussion
:
{
activeDiscussion
:
{
__typename
:
'
ActiveDiscussion
'
,
__typename
:
'
ActiveDiscussion
'
,
...
...
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