mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 19:20:20 +00:00
0d012ebea1
This reverts commit6b3842cf50
, reversing changes made to6b1282a829
.
2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{828:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return L}));var n,o,s,c=a(0),u=a(2),r=(a(9),a(6),a(8)),i=a(1),d=a(65),l=a.n(d),p=(a(3),a(15)),b=a(7),h=a(21),m=a(5),f=a.n(m),j=a(16),O=a.n(j),M=a(306),g=a(757),v=a(763),y=a(1053),w=a(212),I=a(1049);var q=Object(b.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),L=Object(p.connect)((function(e){return{accountIds:e.getIn(["user_lists","mutes","items"]),hasMore:!!e.getIn(["user_lists","mutes","next"])}}))(n=Object(b.g)((s=o=function(e){Object(r.a)(a,e);var t;t=a;function a(){for(var t,a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return t=e.call.apply(e,[this].concat(n))||this,Object(i.a)(Object(u.a)(t),"handleLoadMore",l()((function(){t.props.dispatch(Object(w.e)())}),300,{leading:!0})),t}var n=a.prototype;return n.componentWillMount=function(){this.props.dispatch(Object(w.f)())},n.render=function(){var e=this.props,t=e.intl,a=e.shouldUpdateScroll,n=e.hasMore,o=e.accountIds,s=e.multiColumn;if(!o)return Object(c.a)(g.a,{},void 0,Object(c.a)(M.a,{}));var u=Object(c.a)(b.b,{id:"empty_column.mutes",defaultMessage:"You haven't muted any users yet."});return(Object(c.a)(g.a,{bindToDocument:!s,icon:"volume-off",heading:t.formatMessage(q.heading)},void 0,Object(c.a)(v.a,{}),Object(c.a)(I.a,{scrollKey:"mutes",onLoadMore:this.handleLoadMore,hasMore:n,shouldUpdateScroll:a,emptyMessage:u,bindToDocument:!s},void 0,o.map((function(e){return Object(c.a)(y.a,{id:e},e)})))))},a}(h.a),Object(i.a)(o,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,shouldUpdateScroll:f.a.func,hasMore:f.a.bool,accountIds:O.a.list,intl:f.a.object.isRequired,multiColumn:f.a.bool}),n=s))||n)||n}}]);
|
|
//# sourceMappingURL=mutes.js.map
|