Skip to content

Commit

Permalink
remove pagination story until we have a better way to fake data in St…
Browse files Browse the repository at this point in the history
…orybook
  • Loading branch information
andaley committed Jan 11, 2020
1 parent c8ea4f4 commit f2595df
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions ui/lib/core/stories/list-view.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,11 @@ filtered.set('meta', {
total: 100,
});

let paginated = ArrayProxy.create({
content: [{ id: 'middle' }, { id: 'of' }, { id: 'the' }, { id: 'list' }],
});
paginated.set('meta', {
lastPage: 10,
currentPage: 4,
total: 100,
});

// TODO: add a pagination option when we have a better way to fake Ember models in Storybook.
let options = {
list: [{ id: 'one' }, { id: 'two' }],
empty: [],
filtered,
paginated,
};

storiesOf('ListView/', module)
Expand Down

0 comments on commit f2595df

Please sign in to comment.