aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/stores
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-22 23:39:12 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:47:09 +0100
commit00ba122b5d6b0929ba6078fc7c1d128cf6e5236e (patch)
tree75a6d4b9993bafe36e22fe009fbb0ab55aa72385 /src/web/js/stores
parentordering feeds (diff)
downloadnewspipe-00ba122b5d6b0929ba6078fc7c1d128cf6e5236e.tar.gz
newspipe-00ba122b5d6b0929ba6078fc7c1d128cf6e5236e.tar.bz2
newspipe-00ba122b5d6b0929ba6078fc7c1d128cf6e5236e.zip
displaying error
Diffstat (limited to 'src/web/js/stores')
-rw-r--r--src/web/js/stores/MenuStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/js/stores/MenuStore.js b/src/web/js/stores/MenuStore.js
index d7478091..016b33f2 100644
--- a/src/web/js/stores/MenuStore.js
+++ b/src/web/js/stores/MenuStore.js
@@ -6,7 +6,8 @@ var assign = require('object-assign');
var MenuStore = assign({}, EventEmitter.prototype, {
- _datas: {filter: 'all', categories: [], all_unread_count: 0},
+ _datas: {filter: 'all', categories: [],
+ all_unread_count: 0, feed_in_error: false},
getAll: function() {
return this._datas;
},
@@ -35,6 +36,7 @@ MenuStore.dispatchToken = JarrDispatcher.register(function(action) {
switch(action.type) {
case MenuActionTypes.RELOAD_MENU:
MenuStore._datas['categories'] = action.categories;
+ MenuStore._datas['feed_in_error'] = action.feed_in_error;
MenuStore._datas['all_unread_count'] = action.all_unread_count;
MenuStore.emitChange();
break;
bgstack15