mirror of
https://github.com/ascribe/onion.git
synced 2024-06-24 10:16:29 +02:00
23 lines
600 B
JavaScript
23 lines
600 B
JavaScript
'use strict';
|
|
|
|
import { alt } from '../alt';
|
|
import ContractAgreementListActions from '../actions/contract_agreement_list_actions';
|
|
|
|
|
|
class ContractAgreementListStore {
|
|
constructor() {
|
|
this.contractAgreementList = null;
|
|
this.bindActions(ContractAgreementListActions);
|
|
}
|
|
|
|
onUpdateContractAgreementList(contractAgreementList) {
|
|
this.contractAgreementList = contractAgreementList;
|
|
}
|
|
|
|
onFlushContractAgreementList() {
|
|
this.contractAgreementList = null;
|
|
}
|
|
}
|
|
|
|
export default alt.createStore(ContractAgreementListStore, 'ContractAgreementListStore');
|