diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/communities.tsx | 3 | ||||
-rw-r--r-- | ui/src/components/main.tsx | 2 | ||||
-rw-r--r-- | ui/src/components/post-form.tsx | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/ui/src/components/communities.tsx b/ui/src/components/communities.tsx index a78e43a7..86800684 100644 --- a/ui/src/components/communities.tsx +++ b/ui/src/components/communities.tsx @@ -32,7 +32,8 @@ export class Communities extends Component<any, CommunitiesState> { ); let listCommunitiesForm: ListCommunitiesForm = { - sort: SortType[SortType.TopAll] + sort: SortType[SortType.TopAll], + limit: 9999, } WebSocketService.Instance.listCommunities(listCommunitiesForm); diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 2badb23e..0b5923c0 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -59,7 +59,7 @@ export class Main extends Component<any, State> { let listCommunitiesForm: ListCommunitiesForm = { sort: SortType[SortType.New], - limit: 8 + limit: 6 } WebSocketService.Instance.listCommunities(listCommunitiesForm); diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index 4627ab48..bec73812 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -59,7 +59,8 @@ export class PostForm extends Component<PostFormProps, PostFormState> { ); let listCommunitiesForm: ListCommunitiesForm = { - sort: SortType[SortType.TopAll] + sort: SortType[SortType.TopAll], + limit: 9999, } WebSocketService.Instance.listCommunities(listCommunitiesForm); |