mirror of
https://github.com/ascribe/onion.git
synced 2024-07-01 06:02:12 +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');
|