fix(mobile-pagination):incorrect number of columns
This commit is contained in:
parent
c2ffcdc67e
commit
aff976d53d
|
@ -14,11 +14,11 @@ StateListenerRegistry.register(
|
||||||
/* selector */ state => {
|
/* selector */ state => {
|
||||||
const participantCount = getParticipantCountWithFake(state);
|
const participantCount = getParticipantCountWithFake(state);
|
||||||
|
|
||||||
if (participantCount < 5) { // the dimensions are updated only when the participant count is lower than 5.
|
if (participantCount < 6) { // the dimensions are updated only when the participant count is lower than 6.
|
||||||
return participantCount;
|
return participantCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 4; // make sure we don't update the dimensions.
|
return 5; // make sure we don't update the dimensions.
|
||||||
},
|
},
|
||||||
/* listener */ (_, store) => {
|
/* listener */ (_, store) => {
|
||||||
const state = store.getState();
|
const state = store.getState();
|
||||||
|
|
Loading…
Reference in New Issue