summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-02-20 16:20:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-02-20 16:20:52 +0900
commitc39f69e5dd9ca9459f80dbcc6c7faadd8bc6e11e (patch)
tree9c8ca535aa31b3764b466c7d8f07bfefb2ad3577 /src/client
parent右クリックでリアクションピッカーを開くオプション (diff)
downloadsharkey-c39f69e5dd9ca9459f80dbcc6c7faadd8bc6e11e.tar.gz
sharkey-c39f69e5dd9ca9459f80dbcc6c7faadd8bc6e11e.tar.bz2
sharkey-c39f69e5dd9ca9459f80dbcc6c7faadd8bc6e11e.zip
Chat UIでのチャンネル表示数調整
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ui/chat/index.vue5
1 files changed, 3 insertions, 2 deletions
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;
});