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
2e757679
Commit
2e757679
authored
Jun 29, 2021
by
Sarah GP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy data to make immutable for Apollo 3
parent
81857f90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/pipelines/components/graph/graph_component_wrapper.vue
...ts/pipelines/components/graph/graph_component_wrapper.vue
+1
-1
app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue
...ts/pipelines/components/graph/linked_pipelines_column.vue
+1
-1
app/assets/javascripts/pipelines/pipeline_shared_client.js
app/assets/javascripts/pipelines/pipeline_shared_client.js
+1
-0
No files found.
app/assets/javascripts/pipelines/components/graph/graph_component_wrapper.vue
View file @
2e757679
...
...
@@ -105,7 +105,7 @@ export default {
return
this
.
pipeline
;
}
return
unwrapPipelineData
(
this
.
pipelineProjectPath
,
data
);
return
unwrapPipelineData
(
this
.
pipelineProjectPath
,
JSON
.
parse
(
JSON
.
stringify
(
data
))
);
},
error
(
err
)
{
this
.
reportFailure
({
type
:
LOAD_FAILURE
,
skipSentry
:
true
});
...
...
app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue
View file @
2e757679
...
...
@@ -118,7 +118,7 @@ export default {
return
this
.
currentPipeline
;
}
return
unwrapPipelineData
(
projectPath
,
data
);
return
unwrapPipelineData
(
projectPath
,
JSON
.
parse
(
JSON
.
stringify
(
data
))
);
},
result
()
{
this
.
loadingPipelineId
=
null
;
...
...
app/assets/javascripts/pipelines/pipeline_shared_client.js
View file @
2e757679
...
...
@@ -5,6 +5,7 @@ export const apolloProvider = new VueApollo({
defaultClient
:
createDefaultClient
(
{},
{
assumeImmutableResults
:
true
,
useGet
:
true
,
},
),
...
...
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