Commit 110a308f authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-vue-warnings-with-related-issues' into 'master'

Fix Vue warnings about string idKey in Related Issues

See merge request !2190
parents 69d3138b c20a491e
......@@ -3,7 +3,7 @@ import eventHub from '~/issuable/related_issues/event_hub';
import addIssuableForm from '~/issuable/related_issues/components/add_issuable_form.vue';
const issuable1 = {
id: '200',
id: 200,
reference: 'foo/bar#123',
displayReference: '#123',
title: 'some title',
......@@ -12,7 +12,7 @@ const issuable1 = {
};
const issuable2 = {
id: '201',
id: 201,
reference: 'foo/bar#124',
displayReference: '#124',
title: 'some other thing',
......
......@@ -3,7 +3,7 @@ import eventHub from '~/issuable/related_issues/event_hub';
import relatedIssuesBlock from '~/issuable/related_issues/components/related_issues_block.vue';
const issuable1 = {
id: '200',
id: 200,
reference: 'foo/bar#123',
displayReference: '#123',
title: 'some title',
......@@ -12,7 +12,7 @@ const issuable1 = {
};
const issuable2 = {
id: '201',
id: 201,
reference: 'foo/bar#124',
displayReference: '#124',
title: 'some other thing',
......
......@@ -8,7 +8,7 @@ const defaultProps = {
};
const issuable1 = {
id: '200',
id: 200,
reference: 'foo/bar#123',
title: 'issue1',
path: '/foo/bar/issues/123',
......@@ -17,7 +17,7 @@ const issuable1 = {
};
const issuable2 = {
id: '201',
id: 201,
reference: 'foo/bar#124',
title: 'issue1',
path: '/foo/bar/issues/124',
......
......@@ -3,6 +3,7 @@ import Vue from 'vue';
import RelatedIssuesService from '~/issuable/related_issues/services/related_issues_service';
const issuable1 = {
id: 200,
reference: 'foo/bar#123',
title: 'some title',
path: '/foo/bar/issues/123',
......
import RelatedIssuesStore from '~/issuable/related_issues/stores/related_issues_store';
const issuable1 = {
id: '200',
id: 200,
reference: 'foo/bar#123',
title: 'issue1',
path: '/foo/bar/issues/123',
......@@ -10,7 +10,7 @@ const issuable1 = {
};
const issuable2 = {
id: '201',
id: 201,
reference: 'foo/bar#124',
title: 'issue1',
path: '/foo/bar/issues/124',
......
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