Commit bfd143b4 authored by Sam Beckham's avatar Sam Beckham Committed by Natalia Tepluhina

Adds discussion to the optimistic design response

This prevents a warning from occouring when we upload a design
parent 0456a43b
---
title: Prevents console warning on design upload
merge_request: 19297
author:
type: fixed
......@@ -114,6 +114,10 @@ export default {
startSha: '',
headSha: '',
},
discussions: {
__typename: 'DesignDiscussion',
edges: [],
},
versions: {
__typename: 'DesignVersionConnection',
edges: {
......
......@@ -179,6 +179,10 @@ describe('Design management index page', () => {
startSha: '',
headSha: '',
},
discussions: {
__typename: 'DesignDiscussion',
edges: [],
},
versions: {
__typename: 'DesignVersionConnection',
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