aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 02:24:10 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 02:28:01 +0100
commit9ca6a6989b0c87401f1a3903077723cd9a648a79 (patch)
tree40d36bf9a7b5bff1dcdb397b1208b736ef816b91 /src/web/views/views.py
parentregistering modifications on feeds / categories (diff)
downloadnewspipe-9ca6a6989b0c87401f1a3903077723cd9a648a79.tar.gz
newspipe-9ca6a6989b0c87401f1a3903077723cd9a648a79.tar.bz2
newspipe-9ca6a6989b0c87401f1a3903077723cd9a648a79.zip
redoing navbar in react
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r--src/web/views/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index f8549e93..1aed912d 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -262,6 +262,8 @@ def get_menu():
categories[feed['category_id']]['unread'] += feed['unread']
categories[feed['category_id']]['feeds'].append(feed_id)
return jsonify(**{'feeds': feeds, 'categories': categories,
+ 'crawling_method': conf.CRAWLING_METHOD,
+ 'is_admin': g.user.is_admin(),
'all_unread_count': sum(unread.values())})
bgstack15