0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 01:32:47 +00:00

Default brew in getDefaultProps, don't get localstorage when cloning

This commit is contained in:
Trevor Buckner
2022-09-03 01:32:42 -04:00
parent 8d10800cb6
commit b4be9bb741
2 changed files with 29 additions and 42 deletions

View File

@@ -30,10 +30,10 @@ const ListPage = createClass({
});
return {
filterString : this.props.query?.filter || '',
sortType : this.props.query?.sort || 'alpha',
sortDir : this.props.query?.dir || 'asc',
query : this.props.query,
filterString : this.props.query?.filter || '',
sortType : this.props.query?.sort || 'alpha',
sortDir : this.props.query?.dir || 'asc',
query : this.props.query,
brewCollection : brewCollection
};
},