forked from AkkomaGang/akkoma
2 lines
No EOL
1.5 KiB
JavaScript
2 lines
No EOL
1.5 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[66],{654:function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return k});var n,a,s,c=i(0),r=i(6),o=i(1),u=(i(3),i(21)),l=i(5),d=i.n(l),b=i(26),p=i.n(b),f=i(271),g=i(625),j=i(631),O=i(31),h=i(7),m=i(25),v=i(931),w=i(932),M=i(980),q=i(61),y=Object(h.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),R=Object(q.a)([function(t){return t.get("lists")}],function(t){return t?t.toList().filter(function(t){return!!t}).sort(function(t,e){return t.get("title").localeCompare(e.get("title"))}):t}),k=Object(u.connect)(function(t){return{lists:R(t)}})(n=Object(h.g)((s=a=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var i=e.prototype;return i.componentWillMount=function(){this.props.dispatch(Object(O.I)())},i.render=function(){var t=this.props,e=t.intl,i=t.lists;return i?Object(c.a)(g.a,{icon:"bars",heading:e.formatMessage(y.heading)},void 0,Object(c.a)(j.a,{}),Object(c.a)(M.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(w.a,{text:e.formatMessage(y.subheading)}),i.map(function(t){return Object(c.a)(v.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))}))):Object(c.a)(g.a,{},void 0,Object(c.a)(f.a,{}))},e}(m.a),Object(o.a)(a,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:p.a.list,intl:d.a.object.isRequired}),n=s))||n)||n}}]);
|
|
//# sourceMappingURL=lists.js.map
|