Skip to content

Commit

Permalink
update var name in storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
meirish committed Jul 18, 2019
1 parent 0aac376 commit 786add6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/lib/core/stories/list-view.stories.js
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import hbs from 'htmlbars-inline-precompile';
import { storiesOf } from '@storybook/ember';
import { withKnobs, select } from '@storybook/addon-knobs';
import notes from './list-view.md';

import ArrayProxy from '@ember/array/proxy';

let filtered = ArrayProxy.create({ content: [] });
@@ -21,7 +22,7 @@ paginated.set('meta', {
total: 100,
});

let items = {
let options = {
list: [{ id: 'one' }, { id: 'two' }],
empty: [],
filtered,
@@ -50,7 +51,7 @@ storiesOf('ListView/', module)
`,
context: {
title: 'ListView',
items: select('items', items, items['list']),
items: select('items', options, options['list']),
},
}),
{ notes }

0 comments on commit 786add6

Please sign in to comment.