Commit b2c4ee670ac757ea801c5e87a9aad1e6778c52ac

Authored by Leonardo Merlin
1 parent d8dae3bb

Added field archived at API call

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;
... ...