From c39f69e5dd9ca9459f80dbcc6c7faadd8bc6e11e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 20 Feb 2021 16:20:52 +0900 Subject: Chat UIでのチャンネル表示数調整 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/ui/chat/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/client/ui') diff --git a/src/client/ui/chat/index.vue b/src/client/ui/chat/index.vue index 1d455927a0..dd3c82d8ba 100644 --- a/src/client/ui/chat/index.vue +++ b/src/client/ui/chat/index.vue @@ -223,11 +223,12 @@ export default defineComponent({ this.antennas = antennas; }); - os.api('channels/followed').then(channels => { + os.api('channels/followed', { limit: 20 }).then(channels => { this.followedChannels = channels; }); - os.api('channels/featured').then(channels => { + // TODO: pagination + os.api('channels/featured', { limit: 20 }).then(channels => { this.featuredChannels = channels; }); -- cgit v1.2.3-freya