limit popular products size
This commit is contained in:
@@ -26,7 +26,7 @@ class Home:
|
|||||||
expand=True,
|
expand=True,
|
||||||
width=1000
|
width=1000
|
||||||
)
|
)
|
||||||
self.products = self.products_manager.get_all()
|
self.products = self.products_manager.get_all()[:20]
|
||||||
self.add_products(self.products)
|
self.add_products(self.products)
|
||||||
|
|
||||||
self.searchbar = ft.TextField(
|
self.searchbar = ft.TextField(
|
||||||
|
|||||||
Reference in New Issue
Block a user