Commit c2fa23f0b4fdf3143406aeb22cc20e1618c86a03

Authored by Leonardo Merlin
1 parent 8b695834

Remove 'about' cache

src/app/components/dialoga-service/dialoga.service.js
@@ -41,7 +41,6 @@ @@ -41,7 +41,6 @@
41 41
42 _pipeHandleYoutube(data); 42 _pipeHandleYoutube(data);
43 _pipeHandleSlug(data); 43 _pipeHandleSlug(data);
44 - _pipeSetAbout(data);  
45 _pipeSetThemes(data); 44 _pipeSetThemes(data);
46 _pipeSetPrograms(data); 45 _pipeSetPrograms(data);
47 46
@@ -232,12 +231,6 @@ @@ -232,12 +231,6 @@
232 } 231 }
233 } 232 }
234 233
235 - function _pipeSetAbout (data) {  
236 - if(!CACHE.hasOwnProperty('about')){  
237 - CACHE.about = data.article.body;  
238 - }  
239 - }  
240 -  
241 function _pipeSetThemes (data) { 234 function _pipeSetThemes (data) {
242 if(!CACHE.hasOwnProperty('themes')){ 235 if(!CACHE.hasOwnProperty('themes')){
243 CACHE.themes = data.article.categories; 236 CACHE.themes = data.article.categories;