followers fix
This commit is contained in:
@@ -48,7 +48,7 @@ use Espo\Services\Stream as StreamService;
|
||||
*/
|
||||
class FollowersLoader implements LoaderInterface
|
||||
{
|
||||
private const FOLLOWERS_LIMIT = 5;
|
||||
private const FOLLOWERS_LIMIT = 6;
|
||||
|
||||
private StreamService $streamService;
|
||||
|
||||
|
||||
@@ -32,11 +32,13 @@ define('views/fields/followers', 'views/fields/link-multiple', function (Dep) {
|
||||
|
||||
foreignScope: 'User',
|
||||
|
||||
portionSize: 4,
|
||||
portionSize: 6,
|
||||
|
||||
setup: function () {
|
||||
Dep.prototype.setup.call(this);
|
||||
|
||||
this.portionSize = this.getConfig().get('recordFollowersLoadLimit') || this.portionSize;
|
||||
|
||||
this.limit = this.portionSize;
|
||||
|
||||
this.listenTo(this.model, 'change:isFollowed', () => {
|
||||
|
||||
Reference in New Issue
Block a user