Merge branch 'develop' into issue/1276
[akkoma] / priv / static / packs / features / reblogs.js
index bcbb7a3d5ac84fda02e096d02fd672384bdd8ae7..d8598f305513e85135af782f684d134173eb1f82 100644 (file)
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{680:function(t,s,e){"use strict";e.r(s),e.d(s,"default",function(){return v});var a,o,n,r=e(0),c=e(7),p=e(1),i=(e(2),e(24)),u=e(25),d=e(5),l=e.n(d),b=e(27),h=e.n(b),m=e(272),f=e(58),j=e(6),O=e(891),I=e(625),w=e(628),y=e(889),v=Object(i.connect)(function(t,s){return{accountIds:t.getIn(["user_lists","reblogged_by",s.params.statusId])}})((n=o=function(t){function s(){return t.apply(this,arguments)||this}Object(c.a)(s,t);var e=s.prototype;return e.componentWillMount=function(){this.props.dispatch(Object(f.m)(this.props.params.statusId))},e.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(f.m)(t.params.statusId))},e.render=function(){var t=this.props,s=t.shouldUpdateScroll,e=t.accountIds;if(!e)return Object(r.a)(I.a,{},void 0,Object(r.a)(m.a,{}));var a=Object(r.a)(j.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this toot yet. When someone does, they will show up here."});return Object(r.a)(I.a,{},void 0,Object(r.a)(w.a,{}),Object(r.a)(y.a,{scrollKey:"reblogs",shouldUpdateScroll:s,emptyMessage:a},void 0,e.map(function(t){return Object(r.a)(O.a,{id:t,withNote:!1},t)})))},s}(u.a),Object(p.a)(o,"propTypes",{params:l.a.object.isRequired,dispatch:l.a.func.isRequired,shouldUpdateScroll:l.a.func,accountIds:h.a.list}),a=n))||a}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{796:function(t,e,s){"use strict";s.r(e),s.d(e,"default",(function(){return M}));var a,o,r,n=s(0),c=s(2),i=s(7),u=s(1),p=(s(3),s(13)),d=s(18),l=s(5),h=s.n(l),b=s(14),f=s.n(b),m=s(300),j=s(45),O=s(6),g=s(1026),I=s(731),w=s(1023),v=s(26),y=s(733),R=Object(O.f)({refresh:{id:"refresh",defaultMessage:"Refresh"}}),M=Object(p.connect)((function(t,e){return{accountIds:t.getIn(["user_lists","reblogged_by",e.params.statusId])}}))(a=Object(O.g)((r=o=function(t){function e(){for(var e,s=arguments.length,a=new Array(s),o=0;o<s;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,Object(u.a)(Object(c.a)(e),"handleRefresh",(function(){e.props.dispatch(Object(j.r)(e.props.params.statusId))})),e}Object(i.a)(e,t);var s=e.prototype;return s.componentWillMount=function(){this.props.accountIds||this.props.dispatch(Object(j.r)(this.props.params.statusId))},s.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(j.r)(t.params.statusId))},s.render=function(){var t=this.props,e=t.intl,s=t.shouldUpdateScroll,a=t.accountIds,o=t.multiColumn;if(!a)return Object(n.a)(I.a,{},void 0,Object(n.a)(m.a,{}));var r=Object(n.a)(O.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this toot yet. When someone does, they will show up here."});return Object(n.a)(I.a,{bindToDocument:!o},void 0,Object(n.a)(y.a,{showBackButton:!0,multiColumn:o,extraButton:Object(n.a)("button",{className:"column-header__button",title:e.formatMessage(R.refresh),"aria-label":e.formatMessage(R.refresh),onClick:this.handleRefresh},void 0,Object(n.a)(v.a,{id:"refresh"}))}),Object(n.a)(w.a,{scrollKey:"reblogs",shouldUpdateScroll:s,emptyMessage:r,bindToDocument:!o},void 0,a.map((function(t){return Object(n.a)(g.a,{id:t,withNote:!1},t)}))))},e}(d.a),Object(u.a)(o,"propTypes",{params:h.a.object.isRequired,dispatch:h.a.func.isRequired,shouldUpdateScroll:h.a.func,accountIds:f.a.list,multiColumn:h.a.bool,intl:h.a.object.isRequired}),a=r))||a)||a}}]);
 //# sourceMappingURL=reblogs.js.map
\ No newline at end of file