mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 09:50:31 +01:00
15 lines
350 B
JavaScript
15 lines
350 B
JavaScript
|
import alt from '../alt';
|
||
|
import EditionsListActions from '../actions/edition_list_actions';
|
||
|
|
||
|
class EditionListStore {
|
||
|
constructor() {
|
||
|
this.itemList = [];
|
||
|
this.bindActions(EditionsListActions);
|
||
|
}
|
||
|
|
||
|
onUpdateEditionList(itemList) {
|
||
|
this.itemList = itemList;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export default alt.createStore(EditionListStore);
|