mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/home: show top nav after all, improve looks
This commit is contained in:
@ -25,9 +25,6 @@ class HomeController {
|
||||
.then(response => {
|
||||
this._homeView.render({
|
||||
canListPosts: api.hasPrivilege('posts:list'),
|
||||
canListComments: api.hasPrivilege('comments:list'),
|
||||
canListTags: api.hasPrivilege('tags:list'),
|
||||
canListUsers: api.hasPrivilege('users:list'),
|
||||
diskUsage: response.diskUsage,
|
||||
postCount: response.postCount,
|
||||
featuredPost: response.featuredPost,
|
||||
@ -38,9 +35,6 @@ class HomeController {
|
||||
response => {
|
||||
this._homeView.render({
|
||||
canListPosts: api.hasPrivilege('posts:list'),
|
||||
canListComments: api.hasPrivilege('comments:list'),
|
||||
canListTags: api.hasPrivilege('tags:list'),
|
||||
canListUsers: api.hasPrivilege('users:list'),
|
||||
});
|
||||
events.notify(events.Error, response.description);
|
||||
});
|
||||
|
Reference in New Issue
Block a user