mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 00:14:42 +01:00
Limit number of entries shown in search landing page
This commit is contained in:
parent
51e3431cdc
commit
cb285722b1
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,7 @@ class _SearchLandingState extends State<SearchLanding> {
|
||||||
return countCompare;
|
return countCompare;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.take(10)
|
||||||
.map((e) => _LandingPersonItem(
|
.map((e) => _LandingPersonItem(
|
||||||
account: widget.account,
|
account: widget.account,
|
||||||
name: e.name,
|
name: e.name,
|
||||||
|
@ -276,6 +277,7 @@ class _SearchLandingState extends State<SearchLanding> {
|
||||||
return compare;
|
return compare;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.take(10)
|
||||||
.map((e) => _LandingLocationItem(
|
.map((e) => _LandingLocationItem(
|
||||||
account: widget.account,
|
account: widget.account,
|
||||||
name: e.place,
|
name: e.place,
|
||||||
|
|
Loading…
Add table
Reference in a new issue