pleroma/priv/static/packs/flavours/glitch/async/lists.js
FloatingGhost 0d012ebea1 Revert "Merge branch 'remove/mastofe' into 'develop'"
This reverts commit 6b3842cf50, reversing
changes made to 6b1282a829.
2022-01-08 21:44:37 +00:00

2 lines
No EOL
1.8 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[74],{791:function(t,e,i){"use strict";i.r(e),i.d(e,"default",(function(){return T}));var n,a,s,o=i(0),r=(i(9),i(6),i(8)),u=i(1),c=(i(3),i(15)),l=i(5),d=i.n(l),b=i(16),p=i.n(b),f=i(305),g=i(756),j=i(761),h=i(30),m=i(7),O=i(21),v=i(1103),y=i(1104),w=i(1150),M=i(57),q=i(1048);var C=Object(m.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),R=Object(M.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})),T=Object(c.connect)((function(t){return{lists:R(t)}}))(n=Object(m.g)((s=a=function(t){Object(r.a)(i,t);var e;e=i;function i(){return t.apply(this,arguments)||this}var n=i.prototype;return n.componentWillMount=function(){this.props.dispatch(Object(h.I)())},n.render=function(){var t=this.props,e=t.intl,i=t.lists,n=t.multiColumn;if(!i)return Object(o.a)(g.a,{},void 0,Object(o.a)(f.a,{}));var a=Object(o.a)(m.b,{id:"empty_column.lists",defaultMessage:"You don't have any lists yet. When you create one, it will show up here."});return(Object(o.a)(g.a,{bindToDocument:!n,icon:"bars",heading:e.formatMessage(C.heading)},void 0,Object(o.a)(j.a,{}),Object(o.a)(w.a,{}),Object(o.a)(y.a,{text:e.formatMessage(C.subheading)}),Object(o.a)(q.a,{scrollKey:"lists",emptyMessage:a,bindToDocument:!n},void 0,i.map((function(t){return Object(o.a)(v.a,{to:"/timelines/list/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))})))))},i}(O.a),Object(u.a)(a,"propTypes",{params:d.a.object.isRequired,dispatch:d.a.func.isRequired,lists:p.a.list,intl:d.a.object.isRequired,multiColumn:d.a.bool}),n=s))||n)||n}}]);
//# sourceMappingURL=lists.js.map