diff options
author | Simon Knox <psimyn@gmail.com> | 2018-01-19 13:05:39 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2018-01-19 13:05:39 +1100 |
commit | 478a7b42f5fe68bdc61a7a17ec3bdd74985e212a (patch) | |
tree | fb39fe2fb0874b3872a0cc2b7485a7f727a6f414 | |
parent | 029729ffceb5e13e3dc7fac6f87203f464257ba1 (diff) | |
download | gitlab-ce-mr-storybook.tar.gz |
fix broken storiesmr-storybook
-rw-r--r-- | stories/mr_widget_states_story.js | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/stories/mr_widget_states_story.js b/stories/mr_widget_states_story.js index 73f51a6dd71..9117c2ad732 100644 --- a/stories/mr_widget_states_story.js +++ b/stories/mr_widget_states_story.js @@ -103,9 +103,11 @@ makeStories({ { title: 'default', props: { - closedBy: author, - closedAt: 'a while ago', - updatedAt: '3 mins ago', + metrics: { + closedBy: author, + closedAt: 'a while ago', + updatedAt: '3 mins ago', + }, targetBranch: 'master', }, }, @@ -186,11 +188,13 @@ const mergedProps = { sourceBranchRemoved: true, updatedAt: '', targetBranch: 'foo', - mergedAt: 'some time ago', - mergedBy: { - webUrl: 'http://foo.bar', - avatarUrl: 'http://gravatar.com/foo', - name: 'fatihacet', + metrics: { + mergedAt: 'some time ago', + mergedBy: { + webUrl: 'http://foo.bar', + avatarUrl: 'http://gravatar.com/foo', + name: 'fatihacet', + }, }, }; |