diff --git a/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts b/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts index 7eb672b03..ec17e10a1 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts +++ b/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts @@ -134,7 +134,12 @@ export class MarketplaceListPage { return this.category === 'all' || p.categories.includes(this.category) }) - const fuse = new Fuse(pkgsToSort, { threshold: 1, ...defaultOps}) + const opts = { + ...defaultOps, + threshold: 1, + } + + const fuse = new Fuse(pkgsToSort, { ...defaultOps, threshold: 1 }) this.pkgs = fuse.search(this.category !== 'all' ? this.category : 'bit').map(p => p.item) } }