From b71ac27c31de7da757bc15d676281fc229ec6026 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 25 Feb 2016 04:49:25 +0300 Subject: [PATCH] Timeline component is unstable --- src/client/components/Timeline.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/components/Timeline.js b/src/client/components/Timeline.js index 592bbe5a..562a6016 100644 --- a/src/client/components/Timeline.js +++ b/src/client/components/Timeline.js @@ -27,7 +27,7 @@ function postText(post){ export default function(app) { app.component('timeline', { template: template, - controller: function($timeout, usSpinnerService, io, api, team){ + controller: function($timeout, usSpinnerService, io, api){ let portion = 0; let count = 10; this.feed = []; @@ -37,8 +37,9 @@ export default function(app) { //usSpinnerService.spin("timelineMore"); function toInstagram(post){ - var author_id = personByInstagram(team.team, post.data.author); - var name = author_id ? team.short(author_id) : post.data.author; + //var author_id = personByInstagram(team.team, post.data.author); + //var name = author_id ? team.short(author_id) : post.data.author; + let name = 'hudozka'; return { date: post.date,