Chat UIでのチャンネル表示数調整

This commit is contained in:
syuilo 2021-02-20 16:20:52 +09:00
parent 8668bc2609
commit c39f69e5dd

View File

@ -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;
});