1
0
mirror of https://github.com/ascribe/onion.git synced 2024-07-01 06:02:12 +02:00
onion/js/stores/whitelabel_store.js

19 lines
408 B
JavaScript
Raw Normal View History

2015-06-29 15:58:47 +02:00
'use strict';
import { altWhitelabel } from '../alt';
2015-06-29 15:58:47 +02:00
import WhitelabelActions from '../actions/whitelabel_actions';
class WhitelabelStore {
constructor() {
this.whitelabel = {};
this.bindActions(WhitelabelActions);
}
onUpdateWhitelabel(whitelabel) {
this.whitelabel = whitelabel;
}
}
export default altWhitelabel.createStore(WhitelabelStore, 'WhitelabelStore');