2020-01-22 08:00:23 -07:00
|
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[78],{700:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return y});var s,a,i,c=n(0),o=n(2),r=n(7),u=n(1),d=n(3),l=n.n(d),p=n(12),b=n(5),f=n.n(b),h=n(18),j=n.n(h),O=n(419),g=n(662),m=n(668),w=n(976),M=n(6),I=n(19),R=Object(M.f)({heading:{id:"column.pins",defaultMessage:"Pinned toot"}}),y=Object(p.connect)(function(t){return{statusIds:t.getIn(["status_lists","pins","items"]),hasMore:!!t.getIn(["status_lists","pins","next"])}})(s=Object(M.g)((i=a=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,Object(u.a)(Object(o.a)(e),"handleHeaderClick",function(){e.column.scrollTop()}),Object(u.a)(Object(o.a)(e),"setRef",function(t){e.column=t}),e}Object(r.a)(e,t);var n=e.prototype;return n.componentWillMount=function(){this.props.dispatch(Object(O.b)())},n.render=function(){var t=this.props,e=t.intl,n=t.statusIds,s=t.hasMore;return l.a.createElement(g.a,{icon:"thumb-tack",heading:e.formatMessage(R.heading),ref:this.setRef},Object(c.a)(m.a,{}),Object(c.a)(w.a,{statusIds:n,scrollKey:"pinned_statuses",hasMore:s}))},e}(I.a),Object(u.a)(a,"propTypes",{dispatch:f.a.func.isRequired,statusIds:j.a.list.isRequired,intl:f.a.object.isRequired,hasMore:f.a.bool.isRequired}),s=i))||s)||s}}]);
|