Timeline component is unstable
This commit is contained in:
1 parent
596ea0d781
commit
b71ac27c31
1 file changed
+4
-3
@@ -27,7 +27,7 @@ function postText(post){
|
|||||||
export default function(app) {
|
export default function(app) {
|
||||||
app.component('timeline', {
|
app.component('timeline', {
|
||||||
template: template,
|
template: template,
|
||||||
controller: function($timeout, usSpinnerService, io, api, team){
|
controller: function($timeout, usSpinnerService, io, api){
|
||||||
let portion = 0;
|
let portion = 0;
|
||||||
let count = 10;
|
let count = 10;
|
||||||
this.feed = [];
|
this.feed = [];
|
||||||
@@ -37,8 +37,9 @@ export default function(app) {
|
|||||||
//usSpinnerService.spin("timelineMore");
|
//usSpinnerService.spin("timelineMore");
|
||||||
|
|
||||||
function toInstagram(post){
|
function toInstagram(post){
|
||||||
var author_id = personByInstagram(team.team, post.data.author);
|
//var author_id = personByInstagram(team.team, post.data.author);
|
||||||
var name = author_id ? team.short(author_id) : post.data.author;
|
//var name = author_id ? team.short(author_id) : post.data.author;
|
||||||
|
let name = 'hudozka';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
date: post.date,
|
date: post.date,
|
||||||
|
|||||||
Reference in new issue
Block a user