1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02:00
onion/js/stores/edition_list_store.js

15 lines
362 B
JavaScript
Raw Normal View History

import alt from '../alt';
import EditionsListActions from '../actions/edition_list_actions';
class EditionListStore {
constructor() {
this.editionList = [];
this.bindActions(EditionsListActions);
}
onUpdateEditionList(editionList) {
this.editionList = editionList;
}
};
export default alt.createStore(EditionListStore);