mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
19 lines
356 B
JavaScript
19 lines
356 B
JavaScript
|
'use strict';
|
||
|
|
||
|
import alt from '../alt';
|
||
|
import LicenseActions from '../actions/license_actions';
|
||
|
|
||
|
|
||
|
class LicenseStore {
|
||
|
constructor() {
|
||
|
this.licenses = {};
|
||
|
this.bindActions(LicenseActions);
|
||
|
}
|
||
|
|
||
|
onUpdateLicenses(licenses) {
|
||
|
this.licenses = licenses;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default alt.createStore(LicenseStore, 'LicenseStore');
|