Skip to content

Commit c467d2e

Browse files
authored
[CI-4459] Update types to be mandatory in Section configuration. (#223)
* make types required * update type * update type check * Revert "update type check" This reverts commit 2da93f5. * Revert "update type" This reverts commit a8289bb. * Revert "make types required" This reverts commit 2d654c8. * update check
1 parent b6f8060 commit c467d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Autocomplete/SectionItemsList/SectionItemsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const DefaultRenderSectionItemsList: RenderSectionItemsList = function ({ sectio
8484
})}
8585
</ul>
8686
{displayShowAllResultsButton &&
87-
type === 'autocomplete' &&
87+
(typeof type === 'undefined' || type === 'autocomplete') &&
8888
section.indexSectionName === 'Products' && (
8989
<div className='cio-section-footer'>
9090
<button

0 commit comments

Comments
 (0)