mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Workshop - Limit home page submissions
This commit is contained in:
parent
d725234d56
commit
25786c6951
@ -48,10 +48,10 @@ public partial class WorkshopHomeViewModel : RoutableScreen
|
|||||||
{
|
{
|
||||||
p.Clear();
|
p.Clear();
|
||||||
if (popularResult.Data?.PopularEntries != null)
|
if (popularResult.Data?.PopularEntries != null)
|
||||||
p.AddRange(popularResult.Data.PopularEntries);
|
p.AddRange(popularResult.Data.PopularEntries.Take(8));
|
||||||
});
|
});
|
||||||
|
|
||||||
IOperationResult<IGetEntriesv2Result> latestResult = await client.GetEntriesv2.ExecuteAsync(null, null, [new EntrySortInput {CreatedAt = SortEnumType.Desc}], 25, null);
|
IOperationResult<IGetEntriesv2Result> latestResult = await client.GetEntriesv2.ExecuteAsync(null, null, [new EntrySortInput {CreatedAt = SortEnumType.Desc}], 8, null);
|
||||||
latest.Edit(l =>
|
latest.Edit(l =>
|
||||||
{
|
{
|
||||||
l.Clear();
|
l.Clear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user