Commit b2c4ee670ac757ea801c5e87a9aad1e6778c52ac
1 parent
d8dae3bb
Exists in
master
and in
6 other branches
Added field archived at API call
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/components/dialoga-service/dialoga.service.js
... | ... | @@ -39,7 +39,7 @@ |
39 | 39 | }else{ |
40 | 40 | // load main content |
41 | 41 | ArticleService.getArticleById(API.articleId.home, { |
42 | - 'fields[]': ['id','abstract','body','categories','children','children_count','title','slug','image','url', 'amount_of_children'], | |
42 | + 'fields[]': ['id','abstract','body','categories','children','children_count','title','slug','image','url', 'amount_of_children', 'archived'], | |
43 | 43 | 'content_type':'ProposalsDiscussionPlugin::DiscussionTopic' |
44 | 44 | }, function (data){ |
45 | 45 | CACHE.home = data; | ... | ... |