mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-03 02:05:24 +00:00
2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{818:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return R}));var s,a,o,c=n(0),i=n(2),u=(n(9),n(6),n(8)),r=n(1),l=n(3),d=n.n(l),p=n(15),b=n(5),h=n.n(b),f=n(16),m=n.n(f),j=n(434),O=n(757),g=n(763),w=n(1065),M=n(7),v=n(21);var I=Object(M.f)({heading:{id:"column.pins",defaultMessage:"Pinned toot"}}),R=Object(p.connect)((function(t){return{statusIds:t.getIn(["status_lists","pins","items"]),hasMore:!!t.getIn(["status_lists","pins","next"])}}))(s=Object(M.g)((o=a=function(t){Object(u.a)(n,t);var e;e=n;function n(){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(r.a)(Object(i.a)(e),"handleHeaderClick",(function(){e.column.scrollTop()})),Object(r.a)(Object(i.a)(e),"setRef",(function(t){e.column=t})),e}var s=n.prototype;return s.componentWillMount=function(){this.props.dispatch(Object(j.b)())},s.render=function(){var t=this.props,e=t.intl,n=t.shouldUpdateScroll,s=t.statusIds,a=t.hasMore,o=t.multiColumn;return(d.a.createElement(O.a,{bindToDocument:!o,icon:"thumb-tack",heading:e.formatMessage(I.heading),ref:this.setRef},Object(c.a)(g.a,{}),Object(c.a)(w.a,{statusIds:s,scrollKey:"pinned_statuses",hasMore:a,shouldUpdateScroll:n,bindToDocument:!o})))},n}(v.a),Object(r.a)(a,"propTypes",{dispatch:h.a.func.isRequired,shouldUpdateScroll:h.a.func,statusIds:m.a.list.isRequired,intl:h.a.object.isRequired,hasMore:h.a.bool.isRequired,multiColumn:h.a.bool}),s=o))||s)||s}}]);
|
|
//# sourceMappingURL=pinned_statuses.js.map
|