diff --git a/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.js b/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.js index 7e94499718..220525daf1 100644 --- a/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.js +++ b/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.js @@ -1,10 +1,6 @@ import howManyColumns from './howManyColumns' export default function whatSizeThumbnail({ length }) { - if (length > 30) { - return 'none' - } - switch (howManyColumns({ length })) { case 1: return 'large' diff --git a/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.spec.js b/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.spec.js index f62133a8b6..727b125d10 100644 --- a/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.spec.js +++ b/packages/lib-classifier/src/plugins/tasks/survey/components/components/Chooser/components/Choices/helpers/whatSizeThumbnail.spec.js @@ -5,10 +5,6 @@ describe('Function > whatSizeThumbnail', function () { expect(whatSizeThumbnail).to.be.a('function') }) - it('should return \'none\' if the length of the array is greater than 30', function () { - expect(whatSizeThumbnail(Array(31))).to.equal('none') - }) - it('should return \'small\' if there are 3 columns', function () { expect(whatSizeThumbnail(Array(21))).to.equal('small') })