From 786add6b8b28b4cd84706f73609cf1d2c609b902 Mon Sep 17 00:00:00 2001 From: Matthew Irish Date: Thu, 18 Jul 2019 16:36:07 -0500 Subject: [PATCH] update var name in storybook --- ui/lib/core/stories/list-view.stories.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/lib/core/stories/list-view.stories.js b/ui/lib/core/stories/list-view.stories.js index d35406f955fd..c8192ac0eeb9 100644 --- a/ui/lib/core/stories/list-view.stories.js +++ b/ui/lib/core/stories/list-view.stories.js @@ -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 }