mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
|
'use strict';
|
||
|
|
||
|
import alt from '../alt';
|
||
|
import ApplicationActions from '../actions/application_actions';
|
||
|
|
||
|
|
||
|
class ApplicationStore {
|
||
|
constructor() {
|
||
|
this.applications = {};
|
||
|
this.bindActions(ApplicationActions);
|
||
|
}
|
||
|
|
||
|
onUpdateApplications(applications) {
|
||
|
this.applications = applications;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default alt.createStore(ApplicationStore, 'ApplicationStore');
|