|
@ -46538,6 +46538,13 @@ module.exports = { |
|
|
}); |
|
|
}); |
|
|
}.bind(this)); |
|
|
}.bind(this)); |
|
|
}, |
|
|
}, |
|
|
|
|
|
dashboardPing: function dashboardPing() { |
|
|
|
|
|
setTimeout(function () { |
|
|
|
|
|
$.get('/dashboard/ping', function () { |
|
|
|
|
|
this.dashboardPing(); |
|
|
|
|
|
}.bind(this)); |
|
|
|
|
|
}.bind(this), 15000); |
|
|
|
|
|
}, |
|
|
findTweetInQueue: function findTweetInQueue(tweet_id) { |
|
|
findTweetInQueue: function findTweetInQueue(tweet_id) { |
|
|
var queueIndex = false; |
|
|
var queueIndex = false; |
|
|
for (var i in this.queue) { |
|
|
for (var i in this.queue) { |
|
@ -46555,7 +46562,11 @@ module.exports = { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
clickedTweet: function clickedTweet(tweet_index) { |
|
|
clickedTweet: function clickedTweet(tweet_index) { |
|
|
// var tweet_data = this.removeTweetFromQueue(tweet_id);
|
|
|
|
|
|
|
|
|
// If another tweet was already open, dismiss that first
|
|
|
|
|
|
if (this.show) { |
|
|
|
|
|
this.dismissTweet(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var tweet_data = this.queue[tweet_index]; |
|
|
var tweet_data = this.queue[tweet_index]; |
|
|
var tweet_id = tweet_data.tweet_id; |
|
|
var tweet_id = tweet_data.tweet_id; |
|
|
|
|
|
|
|
@ -46589,6 +46600,7 @@ module.exports = { |
|
|
}, |
|
|
}, |
|
|
created: function created() { |
|
|
created: function created() { |
|
|
this.loadQueue(); |
|
|
this.loadQueue(); |
|
|
|
|
|
this.dashboardPing(); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -46737,13 +46749,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
staticClass: "tweet" |
|
|
staticClass: "tweet" |
|
|
}, [_c('div', { |
|
|
}, [_c('div', { |
|
|
staticClass: "text" |
|
|
staticClass: "text" |
|
|
}, [_vm._v(_vm._s(_vm.tweet.text))]), _vm._v(" "), (_vm.tweet.photos) ? _c('div', [(_vm.tweet.photos.length == 1) ? _vm._l((_vm.tweet.photos), function(img) { |
|
|
|
|
|
return _c('div', [_c('img', { |
|
|
|
|
|
attrs: { |
|
|
|
|
|
"src": img |
|
|
|
|
|
} |
|
|
|
|
|
})]) |
|
|
|
|
|
}) : [(_vm.tweet.photos) ? _c('div', { |
|
|
|
|
|
|
|
|
}, [_vm._v(_vm._s(_vm.tweet.text))]), _vm._v(" "), (_vm.tweet.photos) ? _c('div', [(_vm.tweet.photos) ? _c('div', { |
|
|
class: 'multi-photo photos-' + _vm.tweet.photos.length |
|
|
class: 'multi-photo photos-' + _vm.tweet.photos.length |
|
|
}, _vm._l((_vm.tweet.photos), function(img) { |
|
|
}, _vm._l((_vm.tweet.photos), function(img) { |
|
|
return _c('div', { |
|
|
return _c('div', { |
|
@ -46759,7 +46765,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
})]) |
|
|
})]) |
|
|
})) : _vm._e(), _vm._v(" "), _c('div', { |
|
|
})) : _vm._e(), _vm._v(" "), _c('div', { |
|
|
staticClass: "multi-photo-clear" |
|
|
staticClass: "multi-photo-clear" |
|
|
})]], 2) : _vm._e()])]), _vm._v(" "), _c('div', { |
|
|
|
|
|
|
|
|
})]) : _vm._e()])]), _vm._v(" "), _c('div', { |
|
|
staticClass: "col-md-4" |
|
|
staticClass: "col-md-4" |
|
|
}, [_c('div', [_vm._v(_vm._s(_vm.tweet.mission))])])])])]) : _vm._e() |
|
|
}, [_c('div', [_vm._v(_vm._s(_vm.tweet.mission))])])])])]) : _vm._e() |
|
|
},staticRenderFns: []} |
|
|
},staticRenderFns: []} |
|
@ -46775,13 +46781,6 @@ if (false) { |
|
|
/* 61 */ |
|
|
/* 61 */ |
|
|
/***/ (function(module, exports) { |
|
|
/***/ (function(module, exports) { |
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|