Commit 312c07be authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '33306-missing-field-discussions' into 'master'

Adds discussion to the optimistic design response

See merge request gitlab-org/gitlab!19297
parents 0456a43b bfd143b4
---
title: Prevents console warning on design upload
merge_request: 19297
author:
type: fixed
...@@ -114,6 +114,10 @@ export default { ...@@ -114,6 +114,10 @@ export default {
startSha: '', startSha: '',
headSha: '', headSha: '',
}, },
discussions: {
__typename: 'DesignDiscussion',
edges: [],
},
versions: { versions: {
__typename: 'DesignVersionConnection', __typename: 'DesignVersionConnection',
edges: { edges: {
......
...@@ -179,6 +179,10 @@ describe('Design management index page', () => { ...@@ -179,6 +179,10 @@ describe('Design management index page', () => {
startSha: '', startSha: '',
headSha: '', headSha: '',
}, },
discussions: {
__typename: 'DesignDiscussion',
edges: [],
},
versions: { versions: {
__typename: 'DesignVersionConnection', __typename: 'DesignVersionConnection',
edges: { edges: {
......
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